|
Oracle® XML Java API Reference 10g Release 1 (10.1) B12024-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--oracle.soap.server.impl.BaseConfigManager
BaseConfigManager provides a standard implementation of most of the ConfigManager interface thus simplifying the implementation of a custom configuration manager. A custom configuration manager implementation can extend this abstract class and implement the setOptions, readRegistry, and writeRegistry methods.
| Field Summary | |
protected javax.servlet.ServletContext |
m_context |
protected java.lang.String[] |
m_namesCache |
protected java.util.Hashtable |
m_registry |
| Constructor Summary | |
BaseConfigManager() | |
| Method Summary | |
void |
deploy(DeploymentDescriptor dd)Deploy the given service. |
void |
init()Initialize the service manager. |
java.lang.String[] |
list(int reservedEntries)Get a list of service ids for all services that have been deployed, regardless of the provider. |
DeploymentDescriptor |
query(java.lang.String id)Get the deployment descriptor for the given service. |
abstract void |
readRegistry()Load the deployed descriptors from the registry |
void |
setContext(javax.servlet.ServletContext context)Set the servlet context |
DeploymentDescriptor |
undeploy(java.lang.String id)Undeploy the entity identified by its ID and return its descriptor. |
abstract void |
writeRegistry()Save the deployed descriptors to the registry |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.soap.server.ConfigManager |
setOptions |
| Field Detail |
protected java.util.Hashtable m_registry
protected java.lang.String[] m_namesCache
protected javax.servlet.ServletContext m_context
| Constructor Detail |
public BaseConfigManager()
| Method Detail |
public void setContext(javax.servlet.ServletContext context)
setContext in interface ConfigManagercontext - The servlet context.
public void init()
throws SOAPException
null value for the provider manager.init in interface ConfigManagerSOAPException - Unable to access the service deployment information.
public DeploymentDescriptor undeploy(java.lang.String id)
throws SOAPException
undeploy in interface ConfigManagerid - The URI of the service to undeploy.SOAPException - If the descriptor is not found or failed to undeploy.
public void deploy(DeploymentDescriptor dd)
throws SOAPException
deploy in interface ConfigManagerdd - The descriptor for the service to deploy.SOAPException - If unable to deploy.
public DeploymentDescriptor query(java.lang.String id)
throws SOAPException
query in interface ConfigManagerSOAPException - If the service is not found.
public java.lang.String[] list(int reservedEntries)
throws SOAPException
list in interface ConfigManagerreservedEntries - 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 service ids.
public abstract void readRegistry()
throws SOAPException
SOAPException
public abstract void writeRegistry()
throws SOAPException
SOAPException
|
Oracle® XML Java API Reference 10g Release 1 (10.1) B12024-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||