|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provider Manager defines the interface to manage providers. The provider manager is used by the SOAP engine to deploy providers, undeploy providers, and access provider deployment information. The provider manager may cache deployment information and is responsible to maintain the cache.
The HTTP server provides security for the provider manager. The provider 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 provider 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(ProviderDeploymentDescriptor pd)
Deploy the given provider. |
void |
destroy()
Cleanup the provider manager. |
java.lang.String |
getRequiredRequestURI()
Get the URI that provider manager requests must be made to in order to be accepted. |
void |
init(java.util.Properties options)
Initialize the provider manager. |
java.lang.String[] |
list()
Get a list of provider ids for all providers that have been deployed. |
ProviderDeploymentDescriptor |
query(java.lang.String providerId)
Get the deployment descriptor for the given provider. |
void |
setServiceManager(ServiceManager serviceManager)
Make the service manager that is being used to manage service deployment information available to the provider manager. |
ProviderDeploymentDescriptor |
undeploy(java.lang.String providerId)
Undeploy the given provider, and return its descriptor. |
Method Detail |
public void init(java.util.Properties options) throws SOAPException
options
- The options required to setup access to the deployment information.SOAPException
- Unable to access the deployment information.public void destroy() throws SOAPException
SOAPException
- Unable to cleanup the provider manager.public void setServiceManager(ServiceManager serviceManager)
providerManager
- The provider manager that is managing provider deployment
information for the SOAP server.public java.lang.String getRequiredRequestURI()
null
if any URI can be used.public ProviderDeploymentDescriptor undeploy(java.lang.String providerId) throws SOAPException
providerId
- The id of the provider to undeploy.SOAPException
- If the provider is not found or failed to undeploy.public void deploy(ProviderDeploymentDescriptor pd) throws SOAPException
pd
- The provider descriptor for the provider to deploy.SOAPException
- If unable to deploy.public ProviderDeploymentDescriptor query(java.lang.String providerId) throws SOAPException
providerId
- The id of the provider.SOAPException
- If the provider is not found.public java.lang.String[] list() throws SOAPException
SOAPException
- Unable to list provider ids.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |