axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject svn commit: r355136 - in /webservices/axis2/trunk/java/modules/core: src/org/apache/axis2/context/OperationContext.java test/org/apache/axis2/context/ContextHierarchyTest.java
Date Thu, 08 Dec 2005 16:44:27 GMT
Author: chathura
Date: Thu Dec  8 08:44:15 2005
New Revision: 355136

URL: http://svn.apache.org/viewcvs?rev=355136&view=rev
Log:
http://issues.apache.org/jira/browse/AXIS2-325
Resolved.

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/OperationContext.java
    webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/context/ContextHierarchyTest.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/OperationContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/OperationContext.java?rev=355136&r1=355135&r2=355136&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/OperationContext.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/OperationContext.java
Thu Dec  8 08:44:15 2005
@@ -144,7 +144,7 @@
      * @return parent ServiceContext's parent EngineContext
      */
     public ConfigurationContext getEngineContext() {
-        return (ConfigurationContext) parent.parent;
+        return ((ServiceContext) parent).getConfigurationContext();
     }
 
     /**

Modified: webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/context/ContextHierarchyTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/context/ContextHierarchyTest.java?rev=355136&r1=355135&r2=355136&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/context/ContextHierarchyTest.java
(original)
+++ webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/context/ContextHierarchyTest.java
Thu Dec  8 08:44:15 2005
@@ -75,6 +75,7 @@
 
         opContext.setProperty(key1, value3);
         assertEquals(value3, msgctx.getProperty(key1));
+        opContext.getEngineContext();
 
     }
 



Mime
View raw message