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 void
deployHandler
(WSDDHandler handler) static void
deployService
(WSDDService service) static void
deployTransport
(WSDDTransport transport) static AxisServer
Get the singleton engine for this management objectstatic WSDDGlobalConfiguration
static WSDDHandler
getHandler
(QName qname) static WSDDHandler[]
static WSDDService
getService
(QName qname) static WSDDService[]
static WSDDTransport
getTransport
(QName qname) static WSDDTransport[]
static String[]
List all registered servicesstatic void
restart()
static void
static void
setEngine
(AxisServer axisSrv, String name) Set the singleton enginestatic void
setGlobalConfig
(WSDDGlobalConfiguration globalConfig) static void
start()
static void
startService
(String serviceName) Start the Servicestatic void
stop()
static void
stopService
(String serviceName) Stop the Servicestatic void
undeployHandler
(QName qname) static void
undeployService
(QName qname) static void
undeployTransport
(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
-