|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceAdminMBean
MBean interface for exposing Service Adminstration functionalities
Method Summary | |
---|---|
int |
getNumberOfActiveServices()
Get the currently active number of services |
int |
getNumberOfFaultyServices()
Get the number of faulty services |
int |
getNumberOfInactiveServices()
Get the currently inactive number of services |
void |
startService(java.lang.String serviceName)
Start the service specified by serviceName |
void |
stopService(java.lang.String serviceName)
Stop the service specified by serviceName |
Method Detail |
---|
int getNumberOfActiveServices() throws java.lang.Exception
java.lang.Exception
- If an error occurs while getting the service countint getNumberOfInactiveServices() throws java.lang.Exception
java.lang.Exception
- If an error occurs while getting the service countint getNumberOfFaultyServices() throws java.lang.Exception
java.lang.Exception
- If an error occursvoid startService(java.lang.String serviceName) throws java.lang.Exception
serviceName
serviceName
- Name of the service to be restarted
java.lang.Exception
- If an error occurs while starting the servicevoid stopService(java.lang.String serviceName) throws java.lang.Exception
serviceName
serviceName
- Name of the service to be restarted
java.lang.Exception
- If an error occurs while stopping the service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |