|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Service Manager defines the interface to manage services. The service manager is used by the SOAP engine to deploy services, undeploy services, and access service deployment information. The service manager may cache deployment information and is responsible to maintain the cache.
The HTTP server provides security for the service manager. The service manager can be configured with a URL that requests must be made to in order for the request to be accepted. If a SOAP request for the service manager is made to any other URL, the request will be rejected. This URL should be an alias to the SOAP servlet, and HTTP security can be set to control which users can post to the URL.
Method Summary | |
void |
deploy(ServiceDeploymentDescriptor sd)
Deploy the given service. |
void |
destroy()
Cleanup the service manager. |
java.lang.String |
getRequiredRequestURI()
Get the URI that service manager requests must be made to in order to be accepted. |
void |
init(java.util.Properties options,
ProviderManager providerManager)
Initialize the service manager. |
java.lang.String[] |
list()
Get a list of service ids for all services that have been deployed, regardless of the provider. |
ServiceDeploymentDescriptor |
query(java.lang.String serviceId)
Get the deployment descriptor for the given service. |
ServiceDeploymentDescriptor |
undeploy(java.lang.String serviceId)
Undeploy the given service, and return its descriptor. |
Method Detail |
public void init(java.util.Properties options, ProviderManager providerManager) throws SOAPException
null
value for the provider manager.options
- The options required to setup access to the service deployment
information.providerManager
- The provider manager that is managing provider deployment
information for the SOAP server, or null
if the
provider manager is not supplied.
The service manager may want to use the provider manager
to confirm the existence of the provider when a new service
is deployed.SOAPException
- Unable to access the service deployment information.public void destroy() throws SOAPException
SOAPException
- Unable to cleanup the service manager.public java.lang.String getRequiredRequestURI()
null
if any URI can be used.public ServiceDeploymentDescriptor undeploy(java.lang.String serviceId) throws SOAPException
serviceId
- The URI of the service to undeploy.SOAPException
- If the service is not found or failed to undeploy.public void deploy(ServiceDeploymentDescriptor sd) throws SOAPException
sd
- The service descriptor for the service to deploy.SOAPException
- If unable to deploy.public ServiceDeploymentDescriptor query(java.lang.String serviceId) throws SOAPException
serviceId
- The unique URI of the service.SOAPException
- If the service is not found.public java.lang.String[] list() throws SOAPException
SOAPException
- Unable to list service ids.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |