public interface ServiceContainerMXBean
Modifier and Type | Method and Description |
---|---|
String |
dumpServiceDetails(String serviceName)
Dump all details of a service.
|
void |
dumpServices()
Dump the container state to the console.
|
void |
dumpServicesByStatus(String status)
Dump the services, whose status matches the passed
status to the console |
String |
dumpServicesToGraphDescription()
Dump the container state to a string suitable for rendering in GraphViz or compatible tools.
|
String |
dumpServicesToString()
Dump the container state to a big string.
|
String |
dumpServicesToStringByStatus(String status)
Dump the services, whose status matches the passed
status , state to a big string. |
ServiceStatus |
getServiceStatus(String name)
Get the status of one service.
|
List<String> |
queryServiceNames()
Get a list of service names in this container.
|
List<ServiceStatus> |
queryServiceStatuses()
Get a list of service statuses in this container.
|
void |
setServiceMode(String name,
String mode)
Change the mode of a service.
|
ServiceStatus getServiceStatus(String name)
name
- the service nameList<String> queryServiceNames()
List<ServiceStatus> queryServiceStatuses()
void setServiceMode(String name, String mode)
name
- the service namemode
- the new modevoid dumpServices()
String dumpServicesToString()
String dumpServicesToGraphDescription()
String dumpServiceDetails(String serviceName)
serviceName
- the name of the service to examinevoid dumpServicesByStatus(String status)
status
to the consolestatus
- The status of the services that we are interested inString dumpServicesToStringByStatus(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 © 2017 JBoss by Red Hat. All rights reserved.