org.globus.wsrf.container
Class ServiceManager
java.lang.Object
org.globus.wsrf.container.ServiceManager
- public class ServiceManager
- extends java.lang.Object
This class manages a set of services. It it used to startup, intialize
deploy and undeploy services.
|
Field Summary |
private org.apache.axis.MessageContext |
ctx
|
private org.apache.axis.deployment.wsdd.WSDDDeployment |
deployment
|
private org.apache.axis.server.AxisServer |
engine
|
private static org.globus.util.I18n |
i18n
|
private static java.lang.String |
INITIALIZED
|
static java.lang.String |
LOAD_STARTUP_PARAM
|
private static org.apache.commons.logging.Log |
logger
|
private static java.util.Hashtable |
managers
|
private UsageConfig |
monitor
|
|
Constructor Summary |
ServiceManager(org.apache.axis.server.AxisServer engine)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOAD_STARTUP_PARAM
public static final java.lang.String LOAD_STARTUP_PARAM
- See Also:
- Constant Field Values
i18n
private static org.globus.util.I18n i18n
logger
private static org.apache.commons.logging.Log logger
managers
private static java.util.Hashtable managers
engine
private org.apache.axis.server.AxisServer engine
deployment
private org.apache.axis.deployment.wsdd.WSDDDeployment deployment
ctx
private org.apache.axis.MessageContext ctx
monitor
private UsageConfig monitor
INITIALIZED
private static final java.lang.String INITIALIZED
- See Also:
- Constant Field Values
ServiceManager
public ServiceManager(org.apache.axis.server.AxisServer engine)
getServiceManager
public static ServiceManager getServiceManager(org.apache.axis.server.AxisServer engine)
getCurrentServiceManager
public static ServiceManager getCurrentServiceManager()
getUsageConfig
public UsageConfig getUsageConfig()
getAxisEngine
org.apache.axis.server.AxisServer getAxisEngine()
getServices
org.apache.axis.deployment.wsdd.WSDDService[] getServices()
getOption
java.lang.String getOption(java.lang.String key)
start
public void start(org.apache.axis.MessageContext msgCtx)
throws java.lang.Exception
- Called when a container is starting up.
- Throws:
java.lang.Exception
createMessageContext
public org.apache.axis.MessageContext createMessageContext(java.lang.String serviceName)
throws java.lang.Exception
- Throws:
java.lang.Exception
initializeService
public static void initializeService(org.apache.axis.MessageContext ctx)
throws java.lang.Exception
- Initializes service description and resource home of the
service currently associated with the givem MessageContext.
- Throws:
java.lang.Exception
stop
public void stop()
- Called when container is being shut down.
isServiceInitialized
static boolean isServiceInitialized(org.apache.axis.description.ServiceDesc desc)
setServiceInitialized
static void setServiceInitialized(org.apache.axis.description.ServiceDesc desc)