public abstract class ConfigPropertyCommandSupport extends ConfigCommandSupport
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
bypassStorage |
protected String |
pid |
PROPERTY_CONFIG_PID, PROPERTY_CONFIG_PROPS, storage| Constructor and Description |
|---|
ConfigPropertyCommandSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(org.osgi.service.cm.ConfigurationAdmin admin) |
protected Dictionary |
getEditedProps()
Retrieves confguration from the pid, if used or delegates to session from getting the configuration.
|
protected abstract void |
propertyAction(Dictionary props)
Perform an action on the properties.
|
protected boolean |
requiresUpdate(String pid)
Checks if the configuration requires to be updated.
|
deleteStorage, doExecute, findConfigurationByFileName, getConfigurationAdmin, getStorage, parsePid, persistConfiguration, setArtifactInstallers, setStorage, update, updateConfigurationprotected String pid
protected boolean bypassStorage
protected void doExecute(org.osgi.service.cm.ConfigurationAdmin admin)
throws Exception
doExecute in class ConfigCommandSupportExceptionprotected abstract void propertyAction(Dictionary props)
props - protected boolean requiresUpdate(String pid)
pid - protected Dictionary getEditedProps() throws Exception
getEditedProps in class ConfigCommandSupportExceptionCopyright © 2007-2014 FuseSource, Corp.. All Rights Reserved.