You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ch...@apache.org on 2005/10/03 04:24:45 UTC

svn commit: r293210 - in /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2: InstanceDispatcher.java context/ConfigurationContext.java description/OperationDescription.java

Author: chinthaka
Date: Sun Oct  2 19:24:37 2005
New Revision: 293210

URL: http://svn.apache.org/viewcvs?rev=293210&view=rev
Log:
- removing unnecessary registering of operation context
- adding the sgc id to itself

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/InstanceDispatcher.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContext.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/OperationDescription.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/InstanceDispatcher.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/InstanceDispatcher.java?rev=293210&r1=293209&r2=293210&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/InstanceDispatcher.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/InstanceDispatcher.java Sun Oct  2 19:24:37 2005
@@ -58,6 +58,7 @@
             ServiceGroupContext serviceGroupContext = (ServiceGroupContext) serviceContext.getParent();
             msgContext.setServiceContext(serviceContext);
             msgContext.setServiceGroupContext(serviceGroupContext);
+            msgContext.setServiceGroupContextId(serviceGroupContext.getId());
             return;
 
         } else { //  2. if null, create new opCtxt

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContext.java?rev=293210&r1=293209&r2=293210&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContext.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContext.java Sun Oct  2 19:24:37 2005
@@ -232,12 +232,6 @@
         if (!isNull(serviceGroupContextId) && serviceGroupContextMap.get(serviceGroupContextId) != null) {
             // SGC is already there
             serviceGroupContext = (ServiceGroupContext) serviceGroupContextMap.get(serviceGroupContextId);
-
-            // check service context is there or not
-
-            //todo Chinthka : I think we do not need to do this
-            // ckecking here , inside ServiceGropContext I have done that  , please take a look at taht
-
             serviceContext = serviceGroupContext.getServiceContext(messageContext.getServiceDescription().getName().
                     getLocalPart());
         } else {

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/OperationDescription.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/OperationDescription.java?rev=293210&r1=293209&r2=293210&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/OperationDescription.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/OperationDescription.java Sun Oct  2 19:24:37 2005
@@ -247,7 +247,6 @@
 
         }
 
-        registerOperationContext(msgContext, operationContext);
 
         return operationContext;