axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r557609 - in /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2: deployment/POJODeployer.java engine/AxisConfiguration.java
Date Thu, 19 Jul 2007 13:13:53 GMT
Author: deepal
Date: Thu Jul 19 06:13:52 2007
New Revision: 557609

URL: http://svn.apache.org/viewvc?view=rev&rev=557609
Log:
setting the parent b4 calling the observers (as Glen suggested)

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/POJODeployer.java
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/POJODeployer.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/POJODeployer.java?view=diff&rev=557609&r1=557608&r2=557609
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/POJODeployer.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/POJODeployer.java
Thu Jul 19 06:13:52 2007
@@ -190,7 +190,6 @@
                         AxisService axisService = (AxisService) axisServiceList.get(i);
                         serviceGroup.addService(axisService);
                     }
-                    serviceGroup.setParent(configCtx.getAxisConfiguration());
                     configCtx.getAxisConfiguration().addServiceGroup(serviceGroup);
                 } else {
                     log.info("No annotated class found in the jar: "  + deploymentFileData.getFile().getName());

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java?view=diff&rev=557609&r1=557608&r2=557609
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
Thu Jul 19 06:13:52 2007
@@ -282,8 +282,8 @@
 
     public synchronized void addServiceGroup(AxisServiceGroup axisServiceGroup)
             throws AxisFault {
-        notifyObservers(AxisEvent.SERVICE_DEPLOY, axisServiceGroup);
         axisServiceGroup.setParent(this);
+        notifyObservers(AxisEvent.SERVICE_DEPLOY, axisServiceGroup);
         AxisService axisService;
 
         Iterator services = axisServiceGroup.getServices();



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


Mime
View raw message