|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pietschy.command.configuration.impl.ConfigurationCache
class ConfigurationCache
Manages Configuration instances.
| Constructor Summary | |
|---|---|
ConfigurationCache()
Creates a new cache instance. |
|
| Method Summary | |
|---|---|
protected Configuration |
getConfigFor(Command command)
Gets the configuration instance for the specified command. |
protected Configuration |
getConfigFor(java.lang.String id)
Gets the config for the command with the specified id. |
protected Configuration |
getOrCreateConfig(PropertyKey key)
Gets the configuration object represented by the specified PropertyKey. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationCache()
| Method Detail |
|---|
protected Configuration getConfigFor(Command command)
command - the command.
java.lang.NullPointerException - if the command is null.
java.lang.IllegalArgumentException - if the command is anonymous.protected Configuration getConfigFor(java.lang.String id)
id - the command id.
java.lang.NullPointerException - if the id is null.protected Configuration getOrCreateConfig(PropertyKey key)
PropertyKey.
key - the property key.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||