|
Oracle Application Server Web Services SOAP API Reference 10g (9.0.4) B10397-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | 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.
Init will be called after the 'setOptions' call allowing the configuration manager to do any setup.
Method Summary | |
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 org.apache.soap.SOAPException
options
- The options specified for this configuration manager.org.apache.soap.SOAPException
- An error was encountered while processing the options.public void setContext(javax.servlet.ServletContext context)
context
- The servlet context.public void init() throws org.apache.soap.SOAPException
org.apache.soap.SOAPException
- An error was encountered during initialization.public DeploymentDescriptor undeploy(java.lang.String id) throws org.apache.soap.SOAPException
id
- The unique ID of the service to undeploy.org.apache.soap.SOAPException
- If the descriptor is not found or failed to undeploy.public void deploy(DeploymentDescriptor dd) throws org.apache.soap.SOAPException
dd
- The descriptor for the entity to deploy.org.apache.soap.SOAPException
- If unable to deploy.public DeploymentDescriptor query(java.lang.String id) throws org.apache.soap.SOAPException
org.apache.soap.SOAPException
- If the descriptor is not found.public java.lang.String[] list(int reservedEntries) throws org.apache.soap.SOAPException
reservedEntries
- The number of unused entries at the front of the returned array that are are reserved for use by the caller.org.apache.soap.SOAPException
- Unable to list ids.
|
Oracle Application Server Web Services SOAP API Reference 10g (9.0.4) B10397-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |