axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r376639 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java
Date Fri, 10 Feb 2006 11:27:15 GMT
Author: deepal
Date: Fri Feb 10 03:27:12 2006
New Revision: 376639

URL: http://svn.apache.org/viewcvs?rev=376639&view=rev
Log:
-calling Observers after engaging global modules

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/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java?rev=376639&r1=376638&r2=376639&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
Fri Feb 10 03:27:12 2006
@@ -169,7 +169,6 @@
      */
     public synchronized void addService(AxisService service) throws AxisFault {
         AxisServiceGroup axisServiceGroup = new AxisServiceGroup();
-
         axisServiceGroup.setServiceGroupName(service.getName());
         axisServiceGroup.setParent(this);
         axisServiceGroup.addService(service);
@@ -194,6 +193,12 @@
 
         services = axisServiceGroup.getServices();
 
+        Iterator enModule = engagedModules.iterator();
+
+        while (enModule.hasNext()) {
+            QName moduleName = (QName) enModule.next();
+            axisServiceGroup.engageModule(getModule(moduleName));
+        }
         while (services.hasNext()) {
             description = (AxisService) services.next();
             if (description.isUseDefaultChains()) {
@@ -205,13 +210,6 @@
             }
             allservices.put(description.getName(), description);
             notifyObservers(AxisEvent.SERVICE_DEPLOY, description);
-        }
-
-        Iterator enModule = engagedModules.iterator();
-
-        while (enModule.hasNext()) {
-            QName moduleName = (QName) enModule.next();
-            axisServiceGroup.engageModule(getModule(moduleName));
         }
 
 //        serviceGroups.put(axisServiceGroup.getServiceGroupName(), axisServiceGroup);



Mime
View raw message