public interface ManagedServiceActions
| Modifier and Type | Method and Description |
|---|---|
Operation<String> |
create(String factoryPid,
Map<String,Object> configs)
Creates a handler that will create a managed service as part of a transaction.
|
Operation<String> |
delete(String pid)
Creates a handler that will delete a managed service as part of a transaction.
|
Map<String,Map<String,Object>> |
read(String factoryPid)
For the given managed service factory, retrieves the full complement of configuration
properties.
|
Operation<String> create(String factoryPid, Map<String,Object> configs) throws ConfiguratorException
factoryPid - the PID of the service factoryconfigs - the configuration properties to apply to the serviceConfiguratorException - if an error occurs creating the operatorOperation<String> delete(String pid) throws ConfiguratorException
pid - the PID of the instance to be deletedConfiguratorException - if an error occurs creating the operatorMap<String,Map<String,Object>> read(String factoryPid) throws ConfiguratorException
This will get all the key:value pairs for each available configuration.
factoryPid - the factoryPid of the service to queryconfigIdConfiguratorException - if any errors occur reading the stateThis work is licensed under a Creative Commons Attribution 4.0 International License.