Interface PlatformServiceContainer
- All Known Implementing Classes:
MBeanServiceContainer
public interface PlatformServiceContainer
- Author:
- Daniel Meyer, Roman Smirnov, Ronny Bräunlich
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A ServiceType is a collection of services that share a common name prefix. -
Method Summary
Modifier and TypeMethodDescriptionvoid
executeDeploymentOperation
(DeploymentOperation operation) <S> S
getService
(PlatformServiceContainer.ServiceType type, String localName) get a specific service by name or null if no such Service exists.<S> List<PlatformService<S>>
<S> S
getServiceValue
(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> void
startService
(String serviceName, PlatformService<S> service) <S> void
startService
(PlatformServiceContainer.ServiceType serviceType, String localName, PlatformService<S> service) void
stopService
(String serviceName) void
stopService
(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
-