|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A ConfigManager
is responsible for saving and
loading the list of deployed services or providers. The SOAP server
will just
call deploy/undeploy... and its up to the class that implements
these API to handling the persistence of the list.
Method Summary |
Type | Method |
---|---|
void |
deploy(DeploymentDescriptor dd)
Deploy the given entity. |
void |
init()
Initialize the configuration manager. |
java.lang.String[] |
list(int reservedEntries)
Get a list of ids for all entities that have been deployed. |
DeploymentDescriptor |
query(java.lang.String id)
Get the deployment descriptor for the given ID. |
void |
setContext(javax.servlet.ServletContext context)
Set the servlet context for this configuration manager. |
void |
setOptions(java.util.Properties options)
Set configuration manager options specified in the SOAP server configuration. |
DeploymentDescriptor |
undeploy(java.lang.String id)
Undeploy the entity identified by its ID and return its descriptor. |
Method Detail |
public void setOptions(java.util.Properties options) throws SOAPException
options
- The options specified for this configuration manager.SOAPException
- An error was encountered while processing the
options.public void setContext(javax.servlet.ServletContext context)
context
- The servlet context.public void init() throws SOAPException
SOAPException
- An error was encountered during initialization.public DeploymentDescriptor undeploy(java.lang.String id) throws SOAPException
id
- The unique ID of the service to undeploy.SOAPException
- If the descriptor is not found or failed to undeploy.public void deploy(DeploymentDescriptor dd) throws SOAPException
dd
- The descriptor for the entity to deploy.SOAPException
- If unable to deploy.public DeploymentDescriptor query(java.lang.String id) throws SOAPException
ID
- The unique ID.SOAPException
- If the descriptor is not found.public java.lang.String[] list(int reservedEntries) throws SOAPException
reservedEntries
- The number of unused entries at the front of the returned array that are
are reserved for use by the caller.SOAPException
- Unable to list ids.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |