You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by gd...@apache.org on 2002/01/31 00:04:07 UTC

cvs commit: xml-axis/java/src/org/apache/axis/deployment/wsdd WSDDDeployment.java

gdaniels    02/01/30 15:04:07

  Modified:    java/src/org/apache/axis/deployment/wsdd WSDDDeployment.java
  Log:
  Replace getServices() routine, to make it easy for tools to get a list of
  deployed services.
  
  We might want to flesh out EngineConfiguration with methods to obtain
  enumerations/arrays of service/transport/handler descriptors if we
  end up going there.
  
  Revision  Changes    Path
  1.19      +10 -0     xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDDeployment.java
  
  Index: WSDDDeployment.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDDeployment.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- WSDDDeployment.java	28 Jan 2002 18:23:00 -0000	1.18
  +++ WSDDDeployment.java	30 Jan 2002 23:04:07 -0000	1.19
  @@ -372,6 +372,16 @@
       }
   
       /**
  +     * Return an array of the services in this deployment
  +     */
  +    public WSDDService[] getServices()
  +    {
  +        WSDDService [] serviceArray = new WSDDService[services.size()];
  +        services.values().toArray(serviceArray);
  +        return serviceArray;
  +    }
  +
  +    /**
        *
        * @param name XXX
        * @return XXX