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.StringgetVersion()get the axis versionvoidrestart()restart the servervoidstart()start the servervoidstartService(java.lang.String serviceName)Start the Servicevoidstop()stop the servervoidstopService(java.lang.String serviceName)Stop the Service
-
-
-
Method Detail
-
start
public void start()
start the server- Specified by:
startin interfaceServiceAdministratorMBean
-
stop
public void stop()
stop the server- Specified by:
stopin interfaceServiceAdministratorMBean
-
restart
public void restart()
restart the server- Specified by:
restartin interfaceServiceAdministratorMBean
-
startService
public void startService(java.lang.String serviceName) throws AxisFault, ConfigurationExceptionStart the Service- Specified by:
startServicein interfaceServiceAdministratorMBean- Parameters:
serviceName-- Throws:
AxisFault- ConfigurationExceptionConfigurationException
-
stopService
public void stopService(java.lang.String serviceName) throws AxisFault, ConfigurationExceptionStop the Service- Specified by:
stopServicein interfaceServiceAdministratorMBean- Parameters:
serviceName-- Throws:
AxisFault- ConfigurationExceptionConfigurationException
-
getVersion
public java.lang.String getVersion()
get the axis version- Specified by:
getVersionin interfaceServiceAdministratorMBean- Returns:
-
-