|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyStoreAccessor
Provides direct access to the properties of a configuration.
Note:
Note that changes made to the store via this interface are not reflected in the already loaded configurations, because they cache values and do not get informed of changes. Clients should usually only use reading methods of this interface.
Method Summary | |
---|---|
Property |
deletePropertyInStore(String name) Deletes the property with the given name. |
PropertyCollection |
getPropertyCollectionFromStore() Returns a collection to iterate over all properties of the configuration. |
Property |
getPropertyFromStore(String name) Fetches the property from the store by the given name. |
Property |
setPropertyToStore(String name, String value) Sets the property to the given value. |
Method Detail |
---|
Property setPropertyToStore(String name, String value) throws NullPointerException, PropertyStoreException
name
- the name of the property to set.
value
- the value to the property.
null
(although the value of the property may be
null
).
NullPointerException
- if
name
is
null
.
PropertyStoreException
- on any problem accessing the store.
PropertyCollection getPropertyCollectionFromStore() throws PropertyStoreException
PropertyStoreException
- on any problem accessing the store.
Property deletePropertyInStore(String name) throws PropertyStoreException
name
- the name of the property to delete.
PropertyStoreException
- on any problem accessing the store.
Property getPropertyFromStore(String name) throws PropertyStoreException
name
- the name of the property to fetch.
null
(although the value of the property may be
null
).
PropertyStoreException
- on any problem accessing the store.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |