Package org.jboss.msc.service.management
Interface ServiceContainerMXBean
-
public interface ServiceContainerMXBeanThe service container management bean interface.- Author:
- David M. Lloyd, Richard Opalka
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddumpServiceById(String id)Dumps the service with given id to system console.StringdumpServiceByIdToString(String id)Dumps the service with given id to string.voiddumpServiceIdProvidingValue(String value)Dumps the service id that provides the given value to system console.StringdumpServiceIdProvidingValueToString(String value)Dumps the service id that provides the given value to string.voiddumpServiceIds()Dumps all registered service ids to system console.voiddumpServiceIdsByMode(String mode)Dumps the service ids in given mode to system console.StringdumpServiceIdsByModeToString(String mode)Dumps the service ids in given mode to string.voiddumpServiceIdsByState(String state)Dumps the service ids in given state to system console.StringdumpServiceIdsByStateToString(String state)Dumps the service ids in given state to string.voiddumpServiceIdsMissingValue(String value)Dumps the service ids missing the given value to system console.StringdumpServiceIdsMissingValueToString(String value)Dumps the service ids missing the given value to string.voiddumpServiceIdsRequiringValue(String value)Dumps the service ids that require the given value to system console.StringdumpServiceIdsRequiringValueToString(String value)Dumps the service ids that require the given value to string.StringdumpServiceIdsToString()Dumps all registered service ids to string.voiddumpServiceProvidingValue(String value)Dumps the service that provides the given value to system console.StringdumpServiceProvidingValueToString(String value)Dumps the service that provides the given value to string.voiddumpServices()Dumps the statuses of all registered services to system console.voiddumpServicesByMode(String mode)Dumps the services in given mode to system console.StringdumpServicesByModeToString(String mode)Dumps the services in given mode to string.voiddumpServicesByState(String state)Dumps the services in given state to system console.StringdumpServicesByStateToString(String state)Dumps the services in given state to string.voiddumpServicesMissingValue(String value)Dumps the services missing the given value to system console.StringdumpServicesMissingValueToString(String value)Dumps the services missing the given value to string.voiddumpServicesRequiringValue(String value)Dumps the services that require the given value to system console.StringdumpServicesRequiringValueToString(String value)Dumps the services that require the given value to string.StringdumpServicesToString()Dumps the statuses of all registered services to string.voiddumpValues()Dumps all registered values to system console.StringdumpValuesToString()Dumps all registered values to string.ServiceStatusqueryServiceById(String id)Gets the service with given id.StringqueryServiceIdProvidingValue(String value)Gets the service id that provides the given value.Set<String>queryServiceIds()Gets all registered service ids.Set<String>queryServiceIdsByMode(String mode)Gets the service ids in given mode.Set<String>queryServiceIdsByState(String state)Gets the service ids in given state.Set<String>queryServiceIdsMissingValue(String value)Gets the service ids missing the given value.Set<String>queryServiceIdsRequiringValue(String value)Gets the service ids that require the given value.ServiceStatusqueryServiceProvidingValue(String value)Gets the service that provides the given value.Set<ServiceStatus>queryServices()Gets the statuses of all registered services.Set<ServiceStatus>queryServicesByMode(String mode)Gets the services in given mode.Set<ServiceStatus>queryServicesByState(String state)Gets the services in given state.Set<ServiceStatus>queryServicesMissingValue(String value)Gets the services missing the given value.Set<ServiceStatus>queryServicesRequiringValue(String value)Gets the services that require the given value.Set<String>queryValues()Gets all registered values.
-
-
-
Method Detail
-
dumpValues
void dumpValues()
Dumps all registered values to system console. The output has no particular standard format and may change over time.
-
dumpValuesToString
String dumpValuesToString()
Dumps all registered values to string. The output has no particular standard format and may change over time.- Returns:
- all registered values as string
-
queryServiceIds
Set<String> queryServiceIds()
Gets all registered service ids.- Returns:
- all registered service ids
-
dumpServiceIds
void dumpServiceIds()
Dumps all registered service ids to system console. The output has no particular standard format and may change over time.
-
dumpServiceIdsToString
String dumpServiceIdsToString()
Dumps all registered service ids to string. The output has no particular standard format and may change over time.- Returns:
- all registered service ids as string
-
queryServices
Set<ServiceStatus> queryServices()
Gets the statuses of all registered services.- Returns:
- the statuses of all registered services
-
dumpServices
void dumpServices()
Dumps the statuses of all registered services to system console. The output has no particular standard format and may change over time.
-
dumpServicesToString
String dumpServicesToString()
Dumps the statuses of all registered services to string. The output has no particular standard format and may change over time.- Returns:
- the statuses of all registered services as string
-
queryServicesRequiringValue
Set<ServiceStatus> queryServicesRequiringValue(String value)
Gets the services that require the given value.- Parameters:
value- the name of the value- Returns:
- the services that require the given value
-
dumpServicesRequiringValue
void dumpServicesRequiringValue(String value)
Dumps the services that require the given value to system console. The output has no particular standard format and may change over time.- Parameters:
value- the name of the value
-
dumpServicesRequiringValueToString
String dumpServicesRequiringValueToString(String value)
Dumps the services that require the given value to string. The output has no particular standard format and may change over time.- Parameters:
value- the name of the value- Returns:
- the services that require the given value as string
-
queryServiceIdsRequiringValue
Set<String> queryServiceIdsRequiringValue(String value)
Gets the service ids that require the given value.- Parameters:
value- the name of the value- Returns:
- the service ids that require the given value
-
dumpServiceIdsRequiringValue
void dumpServiceIdsRequiringValue(String value)
Dumps the service ids that require the given value to system console. The output has no particular standard format and may change over time.- Parameters:
value- the name of the value
-
dumpServiceIdsRequiringValueToString
String dumpServiceIdsRequiringValueToString(String value)
Dumps the service ids that require the given value to string. The output has no particular standard format and may change over time.- Parameters:
value- the name of the value- Returns:
- the service ids that require the given value as string
-
queryServiceProvidingValue
ServiceStatus queryServiceProvidingValue(String value)
Gets the service that provides the given value.- Parameters:
value- the name of the value- Returns:
- the service that provides the given value
-
dumpServiceProvidingValue
void dumpServiceProvidingValue(String value)
Dumps the service that provides the given value to system console. The output has no particular standard format and may change over time.- Parameters:
value- the name of the value
-
dumpServiceProvidingValueToString
String dumpServiceProvidingValueToString(String value)
Dumps the service that provides the given value to string. The output has no particular standard format and may change over time.- Parameters:
value- the name of the value- Returns:
- the service that provides the given value as string
-
queryServiceIdProvidingValue
String queryServiceIdProvidingValue(String value)
Gets the service id that provides the given value.- Parameters:
value- the name of the value- Returns:
- the service id that provides the given value
-
dumpServiceIdProvidingValue
void dumpServiceIdProvidingValue(String value)
Dumps the service id that provides the given value to system console. The output has no particular standard format and may change over time.- Parameters:
value- the name of the value
-
dumpServiceIdProvidingValueToString
String dumpServiceIdProvidingValueToString(String value)
Dumps the service id that provides the given value to string. The output has no particular standard format and may change over time.- Parameters:
value- the name of the value- Returns:
- the service id that provides the given value as string
-
queryServicesMissingValue
Set<ServiceStatus> queryServicesMissingValue(String value)
Gets the services missing the given value.- Parameters:
value- the name of the value- Returns:
- the services missing the given value
-
dumpServicesMissingValue
void dumpServicesMissingValue(String value)
Dumps the services missing the given value to system console. The output has no particular standard format and may change over time.- Parameters:
value- the name of the value
-
dumpServicesMissingValueToString
String dumpServicesMissingValueToString(String value)
Dumps the services missing the given value to string. The output has no particular standard format and may change over time.- Parameters:
value- the name of the value- Returns:
- the services missing the given value as string
-
queryServiceIdsMissingValue
Set<String> queryServiceIdsMissingValue(String value)
Gets the service ids missing the given value.- Parameters:
value- the name of the value- Returns:
- the service ids missing the given value
-
dumpServiceIdsMissingValue
void dumpServiceIdsMissingValue(String value)
Dumps the service ids missing the given value to system console. The output has no particular standard format and may change over time.- Parameters:
value- the name of the value
-
dumpServiceIdsMissingValueToString
String dumpServiceIdsMissingValueToString(String value)
Dumps the service ids missing the given value to string. The output has no particular standard format and may change over time.- Parameters:
value- the name of the value- Returns:
- the service ids missing the given value as string
-
queryServiceById
ServiceStatus queryServiceById(String id)
Gets the service with given id.- Parameters:
id- the service runtime identification- Returns:
- the service with given id
-
dumpServiceById
void dumpServiceById(String id)
Dumps the service with given id to system console. The output has no particular standard format and may change over time.- Parameters:
id- the service runtime identification
-
dumpServiceByIdToString
String dumpServiceByIdToString(String id)
Dumps the service with given id to string. The output has no particular standard format and may change over time.- Parameters:
id- the service runtime identification- Returns:
- the service with given id as string
-
queryServicesByState
Set<ServiceStatus> queryServicesByState(String state)
Gets the services in given state.- Parameters:
state- the name of the state- Returns:
- the services in given state
-
dumpServicesByState
void dumpServicesByState(String state)
Dumps the services in given state to system console. The output has no particular standard format and may change over time.- Parameters:
state- the name of the state
-
dumpServicesByStateToString
String dumpServicesByStateToString(String state)
Dumps the services in given state to string. The output has no particular standard format and may change over time.- Parameters:
state- the name of the state- Returns:
- the services in given state as string
-
queryServiceIdsByState
Set<String> queryServiceIdsByState(String state)
Gets the service ids in given state.- Parameters:
state- the name of the state- Returns:
- the service ids in given state
-
dumpServiceIdsByState
void dumpServiceIdsByState(String state)
Dumps the service ids in given state to system console. The output has no particular standard format and may change over time.- Parameters:
state- the name of the state
-
dumpServiceIdsByStateToString
String dumpServiceIdsByStateToString(String state)
Dumps the service ids in given state to string. The output has no particular standard format and may change over time.- Parameters:
state- the name of the state- Returns:
- the service ids in given state as string
-
queryServicesByMode
Set<ServiceStatus> queryServicesByMode(String mode)
Gets the services in given mode.- Parameters:
mode- the name of the mode- Returns:
- the services in given mode
-
dumpServicesByMode
void dumpServicesByMode(String mode)
Dumps the services in given mode to system console. The output has no particular standard format and may change over time.- Parameters:
mode- the name of the mode
-
dumpServicesByModeToString
String dumpServicesByModeToString(String mode)
Dumps the services in given mode to string. The output has no particular standard format and may change over time.- Parameters:
mode- the name of the mode- Returns:
- the services in given mode as string
-
queryServiceIdsByMode
Set<String> queryServiceIdsByMode(String mode)
Gets the service ids in given mode.- Parameters:
mode- the name of the mode- Returns:
- the service ids in given mode
-
dumpServiceIdsByMode
void dumpServiceIdsByMode(String mode)
Dumps the service ids in given mode to system console. The output has no particular standard format and may change over time.- Parameters:
mode- the name of the mode
-
-