public class SharedPropertyRegistryKF extends SimplePropertyRegistry implements SharedPropertyRegistry, FeatureStateListener
| Constructor and Description |
|---|
SharedPropertyRegistryKF()
Creates a new shared registry KF.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getProperty(String key)
Searches for the property with the specified key in the property lists.
|
String |
removeProperty(String key)
Removes a property.
|
String |
setProperty(String key,
String value)
Sets a property that maps a key to a value.
|
void |
stateChanged(Feature feature,
Feature.State previousState)
Called when the state of a Feature has changed.
|
checkPropertyPermission, getPropertyclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPropertypublic SharedPropertyRegistryKF()
@Nullable public String getProperty(String key)
getProperty in interface PropertyLoadergetProperty in class SimplePropertyRegistrykey - the property key.@Nullable public String removeProperty(String key)
PropertyRegistryremoveProperty in interface PropertyRegistryremoveProperty in class SimplePropertyRegistrykey - the key.null if the property is not found.@Nullable public String setProperty(String key, String value)
PropertyRegistrysetProperty in interface PropertyRegistrysetProperty in class SimplePropertyRegistrykey - the key.value - the value.null if the property is not found.public void stateChanged(@Nullable Feature feature, @Nullable Feature.State previousState)
FeatureStateListenerstateChanged in interface FeatureStateListenerfeature - the Feature which state has changedpreviousState - the previous state, null if Feature state is Feature.State.INSTALLED