@ConsumerType
public interface ConfigurationHandler
| Modifier and Type | Method and Description |
|---|---|
void |
createConfiguration(String pid)
A new configuration with that pid should be created
|
void |
createFactoryConfiguration(String factoryPid,
String name)
A new factory configuration with that pid should be created
|
void |
deleteConfiguration(String factoryPid,
String pid)
A configuration should be deleted
|
void |
updateConfiguration(String factoryPid,
String pid,
Dictionary<String,Object> props)
A configuration should be updated
|
void createConfiguration(String pid) throws ValidationException, IOException
pid - The pidIOException - For an errorValidationException - if creation is not allowedvoid createFactoryConfiguration(String factoryPid, String name) throws ValidationException, IOException
factoryPid - The factory pidname - Optional name, might be null if unknownIOException - For an errorValidationException - if creation is not allowedvoid deleteConfiguration(String factoryPid, String pid) throws ValidationException, IOException
factoryPid - Optional factory pidpid - The pidIOException - For an errorValidationException - if deletion is not allowedvoid updateConfiguration(String factoryPid, String pid, Dictionary<String,Object> props) throws ValidationException, IOException
factoryPid - Optional factory pidpid - The pidprops - Mutable dictionaryIOException - For an errorValidationException - if updating is not allowedCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.