Package org.apache.axis.management
Class ServiceAdmin
java.lang.Object
org.apache.axis.management.ServiceAdmin
The ServiceControl Object is responsible for starting and
stopping specific services
- Version:
- 1.0
- Author:
- bdillon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeployHandler(WSDDHandler handler) static voiddeployService(WSDDService service) static voiddeployTransport(WSDDTransport transport) static AxisServerGet the singleton engine for this management objectstatic WSDDGlobalConfigurationstatic WSDDHandlergetHandler(QName qname) static WSDDHandler[]static WSDDServicegetService(QName qname) static WSDDService[]static WSDDTransportgetTransport(QName qname) static WSDDTransport[]static String[]List all registered servicesstatic voidrestart()static voidstatic voidsetEngine(AxisServer axisSrv, String name) Set the singleton enginestatic voidsetGlobalConfig(WSDDGlobalConfiguration globalConfig) static voidstart()static voidstartService(String serviceName) Start the Servicestatic voidstop()static voidstopService(String serviceName) Stop the Servicestatic voidundeployHandler(QName qname) static voidundeployService(QName qname) static voidundeployTransport(QName qname)
-
Constructor Details
-
ServiceAdmin
public ServiceAdmin()
-
-
Method Details
-
startService
Start the Service- Parameters:
serviceName-- Throws:
AxisFault- ConfigurationExceptionConfigurationException
-
stopService
Stop the Service- Parameters:
serviceName-- Throws:
AxisFault- ConfigurationExceptionConfigurationException
-
listServices
List all registered services- Returns:
- Map of Services (SOAPService objects, Key is the ServiceName)
- Throws:
AxisFault- ConfigurationExceptionConfigurationException
-
getEngine
Get the singleton engine for this management object- Returns:
- Throws:
AxisFault
-
setEngine
Set the singleton engine- Parameters:
axisSrv-
-
start
public static void start() -
stop
public static void stop() -
restart
public static void restart() -
saveConfiguration
public static void saveConfiguration() -
setGlobalConfig
-
getGlobalConfig
-
getHandler
-
getHandlers
-
getService
-
getServices
-
getTransport
-
getTransports
-
deployHandler
-
deployService
-
deployTransport
-
undeployHandler
-
undeployService
-
undeployTransport
-