Package org.jboss.msc.service.management
Interface ServiceContainerMXBean
-
public interface ServiceContainerMXBean
The service container management bean interface.- Author:
- David M. Lloyd, Richard Opalka
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dumpServiceById(String id)
Dumps the service with given id to system console.String
dumpServiceByIdToString(String id)
Dumps the service with given id to string.void
dumpServiceIdProvidingValue(String value)
Dumps the service id that provides the given value to system console.String
dumpServiceIdProvidingValueToString(String value)
Dumps the service id that provides the given value to string.void
dumpServiceIds()
Dumps all registered service ids to system console.void
dumpServiceIdsByMode(String mode)
Dumps the service ids in given mode to system console.String
dumpServiceIdsByModeToString(String mode)
Dumps the service ids in given mode to string.void
dumpServiceIdsByState(String state)
Dumps the service ids in given state to system console.String
dumpServiceIdsByStateToString(String state)
Dumps the service ids in given state to string.void
dumpServiceIdsMissingValue(String value)
Dumps the service ids missing the given value to system console.String
dumpServiceIdsMissingValueToString(String value)
Dumps the service ids missing the given value to string.void
dumpServiceIdsRequiringValue(String value)
Dumps the service ids that require the given value to system console.String
dumpServiceIdsRequiringValueToString(String value)
Dumps the service ids that require the given value to string.String
dumpServiceIdsToString()
Dumps all registered service ids to string.void
dumpServiceProvidingValue(String value)
Dumps the service that provides the given value to system console.String
dumpServiceProvidingValueToString(String value)
Dumps the service that provides the given value to string.void
dumpServices()
Dumps the statuses of all registered services to system console.void
dumpServicesByMode(String mode)
Dumps the services in given mode to system console.String
dumpServicesByModeToString(String mode)
Dumps the services in given mode to string.void
dumpServicesByState(String state)
Dumps the services in given state to system console.String
dumpServicesByStateToString(String state)
Dumps the services in given state to string.void
dumpServicesMissingValue(String value)
Dumps the services missing the given value to system console.String
dumpServicesMissingValueToString(String value)
Dumps the services missing the given value to string.void
dumpServicesRequiringValue(String value)
Dumps the services that require the given value to system console.String
dumpServicesRequiringValueToString(String value)
Dumps the services that require the given value to string.String
dumpServicesToString()
Dumps the statuses of all registered services to string.void
dumpValues()
Dumps all registered values to system console.String
dumpValuesToString()
Dumps all registered values to string.ServiceStatus
queryServiceById(String id)
Gets the service with given id.String
queryServiceIdProvidingValue(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.ServiceStatus
queryServiceProvidingValue(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
-
-