Interface PlatformServiceContainer
-
- All Known Implementing Classes:
MBeanServiceContainer
public interface PlatformServiceContainer
- Author:
- Daniel Meyer, Roman Smirnov, Ronny Bräunlich
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PlatformServiceContainer.ServiceType
A ServiceType is a collection of services that share a common name prefix.
-
Method Summary
-
-
-
Method Detail
-
startService
<S> void startService(PlatformServiceContainer.ServiceType serviceType, String localName, PlatformService<S> service)
-
startService
<S> void startService(String serviceName, PlatformService<S> service)
-
stopService
void stopService(PlatformServiceContainer.ServiceType serviceType, String localName)
-
stopService
void stopService(String serviceName)
-
createDeploymentOperation
DeploymentOperation.DeploymentOperationBuilder createDeploymentOperation(String name)
-
createUndeploymentOperation
DeploymentOperation.DeploymentOperationBuilder createUndeploymentOperation(String name)
-
getService
<S> S getService(PlatformServiceContainer.ServiceType type, String localName)
get a specific service by name or null if no such Service exists.
-
getServiceValue
<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.
-
getServicesByType
<S> List<PlatformService<S>> getServicesByType(PlatformServiceContainer.ServiceType type)
- Returns:
- all services for a specific
PlatformServiceContainer.ServiceType
-
getServiceNames
Set<String> getServiceNames(PlatformServiceContainer.ServiceType type)
- Returns:
- the service names (
ObjectName
) for all services for a given type
-
getServiceValuesByType
<S> List<S> getServiceValuesByType(PlatformServiceContainer.ServiceType type)
- Returns:
- the values of all services for a specific
PlatformServiceContainer.ServiceType
-
executeDeploymentOperation
void executeDeploymentOperation(DeploymentOperation operation)
-
-