|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.data.common.helpers.ContextConfigurationBean
Base class for a configuration bean that uses the bean's own factory to
set the configuration properties. This class should be subclassed with the
relevant setter and getter methods for each config item. As such it is only
suitable for smallish configuration sets. After initialisation, any call to
the relevant setter method will show up live in the configuration.
There should only ever be one instance of this bean per application.
The bean actively reflects the name of its getter method per call to
get(java.lang.String)
rather than caching, so is not designed for heavy use.
Constructor Summary | |
ContextConfigurationBean()
|
Method Summary | |
java.lang.String |
get(java.lang.String key)
Get the configuration item for the given key |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContextConfigurationBean()
Method Detail |
public java.lang.String get(java.lang.String key)
get
in interface ConfigurationBean
key
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |