public interface ServiceContainerMXBean
Modifier and Type | Method and Description |
---|---|
java.lang.String |
dumpServiceDetails(java.lang.String serviceName)
Dump all details of a service.
|
void |
dumpServices()
Dump the container state to the console.
|
void |
dumpServicesByStatus(java.lang.String status)
Dump the services, whose status matches the passed
status to the console |
java.lang.String |
dumpServicesToGraphDescription()
Dump the container state to a string suitable for rendering in GraphViz or compatible tools.
|
java.lang.String |
dumpServicesToString()
Dump the container state to a big string.
|
java.lang.String |
dumpServicesToStringByStatus(java.lang.String status)
Dump the services, whose status matches the passed
status , 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()
java.lang.String dumpServicesToGraphDescription()
java.lang.String dumpServiceDetails(java.lang.String serviceName)
serviceName
- the name of the service to examinevoid dumpServicesByStatus(java.lang.String status)
status
to the consolestatus
- The status of the services that we are interested injava.lang.String dumpServicesToStringByStatus(java.lang.String status)
status
, state to a big string.
The string has no particular standard format and may change over time; this method is simply a convenience.status
- The status of the services that we are interested instatus
Copyright © 2012 JBoss, a division of Red Hat, Inc.