You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by de...@apache.org on 2006/07/20 12:59:05 UTC

svn commit: r423884 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java

Author: deepal
Date: Thu Jul 20 03:59:04 2006
New Revision: 423884

URL: http://svn.apache.org/viewvc?rev=423884&view=rev
Log:
notify observers on service group update before , they are notify about service update

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java?rev=423884&r1=423883&r2=423884&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java Thu Jul 20 03:59:04 2006
@@ -229,6 +229,7 @@
         if (start && Constants.SCOPE_APPLICATION.equals(maxScope)) {
             throw new AxisFault(Messages.getMessage("cannotaddapplicationscopeservice"));
         }
+        notifyObservers(AxisEvent.SERVICE_DEPLOY, axisServiceGroup);
         Iterator services = axisServiceGroup.getServices();
         axisServiceGroup.setParent(this);
         AxisService description;
@@ -271,7 +272,6 @@
         // serviceGroups.put(axisServiceGroup.getServiceGroupName(),
         // axisServiceGroup);
         addChild(axisServiceGroup);
-        notifyObservers(AxisEvent.SERVICE_DEPLOY, axisServiceGroup);
     }
 
     public void removeServiceGroup(String serviceGroupName) throws AxisFault {



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org