|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfigurationCacheInterface
ConfigurationCache Interface. This level is introduced to allow different cache implementations and backends. These are needed to reflect both development phases and newer technical approaches.
| Method Summary | |
|---|---|
void |
addConfigurationListener(ConfigurationListener newListener)
|
Set |
getKeys()
Returns an immutable Set containing all keys present in the configuration. |
String |
getString(String key)
Returns the String value that is associated with the given key. |
void |
reloadCache()
Reloads the internal configuration cache from resource bundle. |
| Method Detail |
|---|
String getString(String key)
throws ConfigurationValueNotFoundException,
ArgumentMalformedException
key - Configuration Key as string that is the key for a stored
configuration value.
ConfigurationValueNotFoundException - in case there is no match to
the key.
ArgumentMalformedException - Is thrown to indicate the illegal use
of a null object as input parameter.Set getKeys()
ConfigurationKey objects.
In case there are no keys, the Set is empty.
ConfigurationKey objects.void addConfigurationListener(ConfigurationListener newListener)
ConfigurationServiceInterface.addConfigurationListener(ConfigurationListener)void reloadCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||