public interface ConfigurationService
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createService(java.lang.String factoryID,
javax.management.AttributeList attributes)
Create a new service.
|
java.lang.String |
createService(java.lang.String factoryID,
javax.management.AttributeList attributes,
java.lang.String serviceID)
Create a new service with a required service id.
|
void |
destroyService(java.lang.String serviceID)
Destroy a service.
|
Configuration |
getConfiguration(java.lang.String serviceID)
Get a configuration service by ID.
|
java.util.Set<Configuration> |
getConfigurations()
Get all configurations
|
void |
storeConfiguration()
Store the all configurations of persistent services.
|
void storeConfiguration()
Configuration getConfiguration(java.lang.String serviceID)
serviceID
- The ID of the servicejava.lang.String createService(java.lang.String factoryID, javax.management.AttributeList attributes) throws CannotCreateServiceException
factoryID
- The ID of the factory to use to create the new serviceattributes
- The Attributes to set on the new serviceCannotCreateServiceException
java.lang.String createService(java.lang.String factoryID, javax.management.AttributeList attributes, java.lang.String serviceID) throws java.lang.Exception
factoryID
- The ID of the factory to use to create the new serviceattributes
- The Attributes to set on the new serviceserviceIDthe
- required service id to be set on servicejava.lang.Exception
void destroyService(java.lang.String serviceID)
serviceID
- java.util.Set<Configuration> getConfigurations()