public interface ServiceContainerMXBean
Modifier and Type | Method and Description |
---|---|
void |
dumpServices()
Dump the container state to the console.
|
java.lang.String |
dumpServicesToString()
Dump the container state to a big string.
|
ServiceStatus |
getServiceStatus(java.lang.String name)
Get the status of one service.
|
java.util.List<java.lang.String> |
queryServiceNames()
Get a list of service names in this container.
|
java.util.List<ServiceStatus> |
queryServiceStatuses()
Get a list of service statuses in this container.
|
void |
setServiceMode(java.lang.String name,
java.lang.String mode)
Change the mode of a service.
|
ServiceStatus getServiceStatus(java.lang.String name)
name
- the service namejava.util.List<java.lang.String> queryServiceNames()
java.util.List<ServiceStatus> queryServiceStatuses()
void setServiceMode(java.lang.String name, java.lang.String mode)
name
- the service namemode
- the new modevoid dumpServices()
java.lang.String dumpServicesToString()
Copyright © 2011 JBoss, a division of Red Hat, Inc.