org.apache.soap.server
Class ServiceManager

java.lang.Object
  |
  +--org.apache.soap.server.ServiceManager

public class ServiceManager
extends java.lang.Object

A ServiceManager manages services and their associated DeploymentDescriptors.

Author:
Sanjiva Weerawarana (sanjiva@watson.ibm.com)

Constructor Summary
ServiceManager()
           
 
Method Summary
 void deploy(DeploymentDescriptor dd)
          Deploy a service: add the descriptor to the persistent record of what has been deployed.
 java.lang.String[] list()
          Return an array of all the deployed service names.
 DeploymentDescriptor query(java.lang.String id)
          Return the deployment descriptor for a service.
 DeploymentDescriptor undeploy(java.lang.String id)
          Undeploy a service: remove the descriptor from the persistent record of what has been deployed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceManager

public ServiceManager()
Method Detail

deploy

public void deploy(DeploymentDescriptor dd)
            throws SOAPException
Deploy a service: add the descriptor to the persistent record of what has been deployed.

undeploy

public DeploymentDescriptor undeploy(java.lang.String id)
                              throws SOAPException
Undeploy a service: remove the descriptor from the persistent record of what has been deployed.
Throws:
SOAPException - if service is not found

query

public DeploymentDescriptor query(java.lang.String id)
                           throws SOAPException
Return the deployment descriptor for a service. If the id identifies the service management service, then the deployment descriptor of the service management service is returned.
Parameters:
id - the id of the service I'm looking for
Throws:
SOAPException - if service is not found

list

public java.lang.String[] list()
Return an array of all the deployed service names. Returns an array of length zero if there are no deployed services.
Returns:
array of all service names


Copyright © 2000 Apache XML Project. All Rights Reserved.