public class DistributedComponentConfigStore extends AbstractStore<ComponentConfigEvent,ComponentConfigStoreDelegate> implements ComponentConfigStore
Modifier and Type | Field and Description |
---|---|
protected StorageService |
storageService |
delegate
Constructor and Description |
---|
DistributedComponentConfigStore() |
Modifier and Type | Method and Description |
---|---|
void |
activate() |
void |
deactivate() |
Set<String> |
getProperties(String componentName)
Returns set of component configuration property names.
|
String |
getProperty(String componentName,
String name)
Returns the string value of the given component configuration property.
|
void |
setProperty(String componentName,
String name,
String value)
Sets the value of the specified configuration property.
|
void |
unsetProperty(String componentName,
String name)
Clears the value of the specified configuration property thus making
the property take on its default value.
|
hasDelegate, notifyDelegate, notifyDelegate, setDelegate, unsetDelegate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasDelegate, setDelegate, unsetDelegate
protected StorageService storageService
public void activate()
public void deactivate()
public void setProperty(String componentName, String name, String value)
ComponentConfigStore
setProperty
in interface ComponentConfigStore
componentName
- component namename
- property namevalue
- new property valuepublic void unsetProperty(String componentName, String name)
ComponentConfigStore
unsetProperty
in interface ComponentConfigStore
componentName
- component namename
- property namepublic Set<String> getProperties(String componentName)
ComponentConfigStore
getProperties
in interface ComponentConfigStore
componentName
- component namepublic String getProperty(String componentName, String name)
ComponentConfigStore
getProperty
in interface ComponentConfigStore
componentName
- component namename
- property name; null if no property found or if value
is default