axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r523615 - in /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2: deployment/ServiceBuilder.java deployment/util/Utils.java description/AxisService.java
Date Thu, 29 Mar 2007 08:15:54 GMT
Author: deepal
Date: Thu Mar 29 01:15:53 2007
New Revision: 523615

URL: http://svn.apache.org/viewvc?view=rev&rev=523615
Log:
fixing pogoguide Spring sample issue

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java
    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/AxisService.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java?view=diff&rev=523615&r1=523614&r2=523615
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/ServiceBuilder.java
Thu Mar 29 01:15:53 2007
@@ -231,10 +231,7 @@
             if (excludeops == null) {
                 excludeops = new ArrayList();
             }
-            excludeops.add("init");
-            excludeops.add("setOperationContext");
-            excludeops.add("startUp");
-            excludeops.add("destroy");
+            Utils.addExclueMethods(excludeops);
 
             //<schema targetNamespace="http://x.y.z"/>
             // setting the PolicyInclude

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=523615&r1=523614&r2=523615
==============================================================================
--- 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
Thu Mar 29 01:15:53 2007
@@ -619,4 +619,16 @@
         }
         return embedded_jars;
     }
+
+    /**
+     * To add the exclude method when generating scheams , here the exclude methods
+     * will be session releated axis2 methods
+     */
+    public static void addExclueMethods(ArrayList excludeList){
+        excludeList.add("init");
+        excludeList.add("setOperationContext");
+        excludeList.add("startUp");
+        excludeList.add("destroy");
+        excludeList.add("shutDown");
+    }
 }

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java?view=diff&rev=523615&r1=523614&r2=523615
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java
Thu Mar 29 01:15:53 2007
@@ -1618,10 +1618,7 @@
                                                   axisService.getSchematargetNamespacePrefix());
             schemaGenerator.setElementFormDefault(Java2WSDLConstants.FORM_DEFAULT_UNQUALIFIED);
             axisService.setElementFormDefault(false);
-            excludeOpeartion.add("init");
-            excludeOpeartion.add("setOperationContext");
-            excludeOpeartion.add("destroy");
-            excludeOpeartion.add("startUp");
+            Utils.addExclueMethods(excludeOpeartion);
             schemaGenerator.setExcludeMethods(excludeOpeartion);
             axisService.addSchema(schemaGenerator.generateSchema());
             axisService.setSchematargetNamespace(schemaGenerator.getSchemaTargetNameSpace());
@@ -1766,10 +1763,7 @@
                                                   axisService.getSchematargetNamespacePrefix());
             schemaGenerator.setElementFormDefault(Java2WSDLConstants.FORM_DEFAULT_UNQUALIFIED);
             axisService.setElementFormDefault(false);
-            excludeOpeartion.add("init");
-            excludeOpeartion.add("setOperationContext");
-            excludeOpeartion.add("destroy");
-            excludeOpeartion.add("startUp");
+            Utils.addExclueMethods(excludeOpeartion);
             schemaGenerator.setExcludeMethods(excludeOpeartion);
             axisService.addSchema(schemaGenerator.generateSchema());
             axisService.setSchematargetNamespace(schemaGenerator.getSchemaTargetNameSpace());



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