axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r556243 - in /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2: deployment/util/Utils.java description/AxisModule.java
Date Sat, 14 Jul 2007 08:43:57 GMT
Author: deepal
Date: Sat Jul 14 01:43:56 2007
New Revision: 556243

URL: http://svn.apache.org/viewvc?view=rev&rev=556243
Log:
adding a way to differentiate normal service and services added by modules

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisModule.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java?view=diff&rev=556243&r1=556242&r2=556243
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
Sat Jul 14 01:43:56 2007
@@ -486,6 +486,10 @@
                             configCtx);
                     for (int j = 0; j < serviceList.size(); j++) {
                         AxisService axisService = (AxisService) serviceList.get(j);
+                        Parameter moduleService = new Parameter();
+                        moduleService.setValue("true");
+                        moduleService.setName(AxisModule.MODULE_SERVICE);
+                        axisService.addParameter(moduleService);
                         serviceGroup.addService(axisService);
                     }
                     axisConfig.addServiceGroup(serviceGroup);

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisModule.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisModule.java?view=diff&rev=556243&r1=556242&r2=556243
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisModule.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisModule.java
Sat Jul 14 01:43:56 2007
@@ -78,6 +78,8 @@
 
     private QName[] localPolicyAssertions;
     public static final String VERSION_SNAPSHOT = "SNAPSHOT";
+    public static final String MODULE_SERVICE = "moduleService";
+
 
     /**
      * Constructor ModuleDescription.



---------------------------------------------------------------------
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