Package org.apache.axis.management.jmx
Class ServiceAdministrator
- java.lang.Object
-
- org.apache.axis.management.jmx.ServiceAdministrator
-
- All Implemented Interfaces:
ServiceAdministratorMBean
public class ServiceAdministrator extends java.lang.Object implements ServiceAdministratorMBean
The ServiceAdmininstrator MBean exposes the org.apache.axis.management.ServiceAdmin object- Version:
- 1.0
- Author:
- bdillon
-
-
Constructor Summary
Constructors Constructor Description ServiceAdministrator()
CTR
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getVersion()
get the axis versionvoid
restart()
restart the servervoid
start()
start the servervoid
startService(java.lang.String serviceName)
Start the Servicevoid
stop()
stop the servervoid
stopService(java.lang.String serviceName)
Stop the Service
-
-
-
Method Detail
-
start
public void start()
start the server- Specified by:
start
in interfaceServiceAdministratorMBean
-
stop
public void stop()
stop the server- Specified by:
stop
in interfaceServiceAdministratorMBean
-
restart
public void restart()
restart the server- Specified by:
restart
in interfaceServiceAdministratorMBean
-
startService
public void startService(java.lang.String serviceName) throws AxisFault, ConfigurationException
Start the Service- Specified by:
startService
in interfaceServiceAdministratorMBean
- Parameters:
serviceName
-- Throws:
AxisFault
- ConfigurationExceptionConfigurationException
-
stopService
public void stopService(java.lang.String serviceName) throws AxisFault, ConfigurationException
Stop the Service- Specified by:
stopService
in interfaceServiceAdministratorMBean
- Parameters:
serviceName
-- Throws:
AxisFault
- ConfigurationExceptionConfigurationException
-
getVersion
public java.lang.String getVersion()
get the axis version- Specified by:
getVersion
in interfaceServiceAdministratorMBean
- Returns:
-
-