org.glite.data.common.helpers
Class ImplicitContextConfigurationBean
java.lang.Object
org.glite.data.common.helpers.ImplicitContextConfigurationBean
- All Implemented Interfaces:
- ConfigurationBean
- public class ImplicitContextConfigurationBean
- extends java.lang.Object
- implements ConfigurationBean
Configuration bean that uses the bean's own factory to set the configuration properties. Any configuration properties
found for this bean;s factory will be added. Generally, it is only suitable for smallish configuration sets. The bean
does not expose any public setter or getter methods.
There should only ever be one instance of this bean per
application.
The bean autoinitialised by its factory upon creation.
Method Summary |
java.lang.String |
get(java.lang.String key)
Get the configuration item for the given key |
java.util.Properties |
getProps()
|
void |
setProps(java.util.Properties props)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImplicitContextConfigurationBean
public ImplicitContextConfigurationBean()
get
public java.lang.String get(java.lang.String key)
- Get the configuration item for the given key
- Specified by:
get
in interface ConfigurationBean
- Parameters:
key
-
- Returns:
- the value
getProps
public java.util.Properties getProps()
setProps
public void setProps(java.util.Properties props)