|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.soap.server.ServiceManager
A ServiceManager
manages services and their associated
DeploymentDescriptors
.
Field Summary | |
protected java.lang.String |
configFilename
|
protected ConfigManager |
configMgr
|
protected javax.servlet.ServletContext |
context
|
protected DeploymentDescriptor |
smsdd
|
protected boolean |
soapInterfaceEnabled
|
protected javax.xml.parsers.DocumentBuilder |
xdb
|
Constructor Summary | |
ServiceManager(javax.servlet.ServletContext context,
java.lang.String configFilename)
|
Method Summary | |
void |
deploy(DeploymentDescriptor dd)
Deploy a service: add the descriptor to the persistent record of what has been deployed. |
java.lang.String[] |
list()
Return an array of all the deployed service names. |
DeploymentDescriptor |
query(java.lang.String id)
Return the deployment descriptor for a service. |
void |
setConfigFilename(java.lang.String configFilename)
|
DeploymentDescriptor |
undeploy(java.lang.String id)
Undeploy a service: remove the descriptor from the persistent record of what has been deployed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String configFilename
protected DeploymentDescriptor smsdd
protected ConfigManager configMgr
protected javax.servlet.ServletContext context
protected javax.xml.parsers.DocumentBuilder xdb
protected boolean soapInterfaceEnabled
Constructor Detail |
public ServiceManager(javax.servlet.ServletContext context, java.lang.String configFilename)
Method Detail |
public void setConfigFilename(java.lang.String configFilename)
public void deploy(DeploymentDescriptor dd) throws SOAPException
SOAPException
public DeploymentDescriptor undeploy(java.lang.String id) throws SOAPException
SOAPException
- if service is not foundpublic DeploymentDescriptor query(java.lang.String id) throws SOAPException
id
- the id of the service I'm looking for
SOAPException
- if service is not foundpublic java.lang.String[] list() throws SOAPException
SOAPException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |