axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ig...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/deployment DeploymentRegistry.java SimpleDeploymentManager.java
Date Fri, 28 Dec 2001 22:32:36 GMT
igors       01/12/28 14:32:36

  Modified:    java/src/org/apache/axis/deployment DeploymentRegistry.java
                        SimpleDeploymentManager.java
  Log:
  Added methods to retrieve DeployableItem for named handlers,
  services and transports managed by the DeploymentRegistry.
  This is necessary for dynamic reconfiguration of the processing
  pipeline.
  All juint tests passed.
  
  Revision  Changes    Path
  1.19      +28 -1     xml-axis/java/src/org/apache/axis/deployment/DeploymentRegistry.java
  
  Index: DeploymentRegistry.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/deployment/DeploymentRegistry.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- DeploymentRegistry.java	26 Nov 2001 20:46:23 -0000	1.18
  +++ DeploymentRegistry.java	28 Dec 2001 22:32:36 -0000	1.19
  @@ -103,13 +103,31 @@
           throws DeploymentException;
   
       /**
  -     * retrieve an instance of the named handler
  +     * retrieve a deployment item of the named handler
  +     * @param qname XXX
  +     * @return XXX
  +     * @throws DeploymentException XXX
  +     */
  +    public abstract DeployableItem getHandlerDeployableItem(QName qname)
  +        throws DeploymentException;
  +    
  +    /**
  +     * retrieve an instance of the named service
        * @param qname XXX
        * @return XXX
        * @throws DeploymentException XXX
        */
       public abstract Handler getService(QName qname)
           throws DeploymentException;
  +    
  +    /**
  +     * retrieve a deployment item of the named service
  +     * @param qname XXX
  +     * @return XXX
  +     * @throws DeploymentException XXX
  +     */
  +    public abstract DeployableItem getServiceDeployableItem(QName qname)
  +        throws DeploymentException;
   
       /**
        * retrieve an instance of the named transport
  @@ -118,6 +136,15 @@
        * @throws DeploymentException XXX
        */
       public abstract Handler getTransport(QName qname)
  +        throws DeploymentException;
  +    
  +    /**
  +     * retrieve a deployment item of the named transport
  +     * @param qname XXX
  +     * @return XXX
  +     * @throws DeploymentException XXX
  +     */
  +    public abstract DeployableItem getTransportDeployableItem(QName qname)
           throws DeploymentException;
   
       /**
  
  
  
  1.24      +40 -1     xml-axis/java/src/org/apache/axis/deployment/SimpleDeploymentManager.java
  
  Index: SimpleDeploymentManager.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/deployment/SimpleDeploymentManager.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- SimpleDeploymentManager.java	23 Dec 2001 12:33:31 -0000	1.23
  +++ SimpleDeploymentManager.java	28 Dec 2001 22:32:36 -0000	1.24
  @@ -204,7 +204,7 @@
       }
   
       /**
  -     * Return an instance of the deployed item
  +     * Return an instance of the deployed handler
        * @param qname XXX
        * @return XXX
        * @throws DeploymentException XXX
  @@ -224,6 +224,19 @@
               throw new DeploymentException(e.getMessage());
           }
       }
  +    
  +    /**
  +     * Return a deployment item of the deployed handler
  +     * @param qname XXX
  +     * @return XXX
  +     * @throws DeploymentException XXX
  +     */
  +    public DeployableItem getHandlerDeployableItem(QName qname)
  +        throws DeploymentException
  +    {
  +        DeployableItem item = (DeployableItem)handlers.get(qname);
  +        return item;
  +    }
   
       /**
        * Return an instance of the deployed service
  @@ -246,6 +259,19 @@
               throw new DeploymentException(e.toString());
           }
       }
  +    
  +    /**
  +     * Return a deployment item of the deployed service
  +     * @param qname XXX
  +     * @return XXX
  +     * @throws DeploymentException XXX
  +     */
  +    public DeployableItem getServiceDeployableItem(QName qname)
  +        throws DeploymentException
  +    {
  +        DeployableItem item = (DeployableItem)services.get(qname);
  +        return item;
  +    }
   
       /**
        * Return an instance of the deployed transport
  @@ -267,6 +293,19 @@
           catch (Exception e) {
               throw new DeploymentException(e.getMessage());
           }
  +    }
  +    
  +    /**
  +     * Return a deployment item of the deployed transport
  +     * @param qname XXX
  +     * @return XXX
  +     * @throws DeploymentException XXX
  +     */
  +    public DeployableItem getTransportDeployableItem(QName qname)
  +        throws DeploymentException
  +    {
  +        DeployableItem item = (DeployableItem)transports.get(qname);
  +        return item;
       }
   
       /**
  
  
  

Mime
View raw message