|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rhi.architecture.config.ConfigFacility
Provide access to the application configuration information for any calling class.
Field Summary | |
static java.lang.String |
KEY
The key used by the ResourceContext to look for & store the configuration facility. |
Constructor Summary | |
ConfigFacility()
Default Constructor |
Method Summary | |
void |
close()
Cleanup the object pool that provides the connections. |
java.util.Properties |
getProperties()
Returns a copy of the application configuration information. |
java.lang.String |
getProperty(java.lang.String key)
Returns the property w/ the specified key. |
void |
init(java.util.Properties p)
Initialization of the ConfigFacility basically caches the properties provided during init() & returns them to the caller later. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String KEY
Constructor Detail |
public ConfigFacility()
Method Detail |
public void init(java.util.Properties p)
init
in interface Resource
p
- public java.util.Properties getProperties() throws ConfigurationException
ConfigurationException
public java.lang.String getProperty(java.lang.String key)
key
-
public void close()
close
in interface Resource
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |