|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyManager
Provides means to manage properties. In addition to reading a writing properties, implementations of this interface also allow to add and remove listeners to track changes.
PropertyProvider
,
PropertySource
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener) Adds the given listener to track any property changes. |
void |
addPropertyChangeListener(String name, PropertyChangeListener listener) Adds the given listener as a listener to the given property. |
void |
removePropertyChangeListener(PropertyChangeListener listener) Removes the given listener to stop tracking property changes. |
void |
removePropertyChangeListener(String name, PropertyChangeListener listener) Removes the given listener as a listener to the given property. |
Methods inherited from interface de.smartics.properties.api.config.domain.PropertySource |
---|
removeProperty, setProperty |
Methods inherited from interface de.smartics.properties.api.config.domain.PropertyProvider |
---|
containsKey, getConfigurationKey, getProperties, getProperty, getSourceId, isLazy |
Method Detail |
---|
void addPropertyChangeListener(String name, PropertyChangeListener listener) throws NullPointerException
name
- the name of the property to track changes.
listener
- the listener to add.
NullPointerException
- if
name
or
listener
is
null
.
void removePropertyChangeListener(String name, PropertyChangeListener listener) throws NullPointerException
name
- the name of the property to stop tracking changes.
listener
- the listener to remove.
NullPointerException
- if
name
or
listener
is
null
.
void addPropertyChangeListener(PropertyChangeListener listener) throws NullPointerException
listener
- the listener to add.
NullPointerException
- if
listener
is
null
.
void removePropertyChangeListener(PropertyChangeListener listener) throws NullPointerException
listener
- the listener to remove.
NullPointerException
- if
listener
is
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |