axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/description ServiceDesc.java
Date Fri, 27 Sep 2002 21:24:54 GMT
gdaniels    2002/09/27 14:24:54

  Modified:    java/src/org/apache/axis/description ServiceDesc.java
  Log:
  Make sure we skip skeleton methods when introspecting to generate
  OperationDescs.
  
  Revision  Changes    Path
  1.63      +14 -1     xml-axis/java/src/org/apache/axis/description/ServiceDesc.java
  
  Index: ServiceDesc.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/description/ServiceDesc.java,v
  retrieving revision 1.62
  retrieving revision 1.63
  diff -u -r1.62 -r1.63
  --- ServiceDesc.java	26 Sep 2002 04:35:05 -0000	1.62
  +++ ServiceDesc.java	27 Sep 2002 21:24:54 -0000	1.63
  @@ -102,7 +102,6 @@
   
       /** The name of this service */
       private String name = null;
  -    private static final String ALL_METHODS= "*";
   
       /** List of allowed methods */
       /** null allows everything, an empty ArrayList allows nothing */
  @@ -848,6 +847,13 @@
        */
       private void getSyncedOperationsForName(Class implClass, String methodName)
       {
  +        // If we're a Skeleton deployment, skip the statics.
  +        if (isSkeletonClass) {
  +            if (methodName.equals("getOperationDescByName") ||
  +                methodName.equals("getOperationDescs"))
  +                return;
  +        }
  +        
           // If we have no implementation class, don't worry about it (we're
           // probably on the client)
           if (implClass == null)
  @@ -944,6 +950,13 @@
        */
       private void createOperationsForName(Class implClass, String methodName)
       {
  +        // If we're a Skeleton deployment, skip the statics.
  +        if (isSkeletonClass) {
  +            if (methodName.equals("getOperationDescByName") ||
  +                methodName.equals("getOperationDescs"))
  +                return;
  +        }
  +        
           Method [] methods = implClass.getDeclaredMethods();
   
           for (int i = 0; i < methods.length; i++) {
  
  
  

Mime
View raw message