@Service public class ComponentConfigManager extends Object implements org.onosproject.cfg.ComponentConfigService
| Modifier and Type | Field and Description |
|---|---|
protected org.osgi.service.cm.ConfigurationAdmin |
cfgAdmin |
protected org.onosproject.cfg.ComponentConfigStore |
store |
| Constructor and Description |
|---|
ComponentConfigManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
Set<String> |
getComponentNames() |
Set<org.onosproject.cfg.ConfigProperty> |
getProperties(String componentName) |
void |
preSetProperty(String componentName,
String name,
String value) |
void |
registerProperties(Class<?> componentClass) |
void |
setProperty(String componentName,
String name,
String value) |
void |
unregisterProperties(Class<?> componentClass,
boolean clear) |
void |
unsetProperty(String componentName,
String name) |
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cfg.ComponentConfigStore store
@Reference(cardinality=MANDATORY_UNARY) protected org.osgi.service.cm.ConfigurationAdmin cfgAdmin
@Activate public void activate()
@Deactivate public void deactivate()
public Set<String> getComponentNames()
getComponentNames in interface org.onosproject.cfg.ComponentConfigServicepublic void registerProperties(Class<?> componentClass)
registerProperties in interface org.onosproject.cfg.ComponentConfigServicepublic void unregisterProperties(Class<?> componentClass, boolean clear)
unregisterProperties in interface org.onosproject.cfg.ComponentConfigServicepublic Set<org.onosproject.cfg.ConfigProperty> getProperties(String componentName)
getProperties in interface org.onosproject.cfg.ComponentConfigServicepublic void setProperty(String componentName, String name, String value)
setProperty in interface org.onosproject.cfg.ComponentConfigServicepublic void preSetProperty(String componentName, String name, String value)
preSetProperty in interface org.onosproject.cfg.ComponentConfigService