Interface PlatformServiceContainer
- All Known Implementing Classes:
MBeanServiceContainer
public interface PlatformServiceContainer
- Author:
- Daniel Meyer, Roman Smirnov, Ronny Bräunlich
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA ServiceType is a collection of services that share a common name prefix. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteDeploymentOperation(DeploymentOperation operation) <S> SgetService(PlatformServiceContainer.ServiceType type, String localName) get a specific service by name or null if no such Service exists.<S> List<PlatformService<S>><S> SgetServiceValue(PlatformServiceContainer.ServiceType type, String localName) get the service value for a specific service by name or null if no such Service exists.<S> List<S><S> voidstartService(String serviceName, PlatformService<S> service) <S> voidstartService(PlatformServiceContainer.ServiceType serviceType, String localName, PlatformService<S> service) voidstopService(String serviceName) voidstopService(PlatformServiceContainer.ServiceType serviceType, String localName)
-
Method Details
-
startService
<S> void startService(PlatformServiceContainer.ServiceType serviceType, String localName, PlatformService<S> service) -
startService
-
stopService
-
stopService
-
createDeploymentOperation
-
createUndeploymentOperation
-
getService
get a specific service by name or null if no such Service exists. -
getServiceValue
get the service value for a specific service by name or null if no such Service exists. -
getServicesByType
- Returns:
- all services for a specific
PlatformServiceContainer.ServiceType
-
getServiceNames
- Returns:
- the service names (
ObjectName) for all services for a given type
-
getServiceValuesByType
- Returns:
- the values of all services for a specific
PlatformServiceContainer.ServiceType
-
executeDeploymentOperation
-