|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.psnc.vlab.conf.ConfigHolder<T>
T
- configuration typepublic class ConfigHolder<T extends IConfiguration>
ConfigHolder
class - configuration holder class for storing modules
configuration value object.
Constructor Summary | |
---|---|
ConfigHolder(java.lang.String configLocation,
T configuration)
Creates a new instance of configuration holder with the given configuration instance and its location |
|
ConfigHolder(T configuration)
Creates a new instance of configuration holder with the given configuration instance |
Method Summary | |
---|---|
java.lang.String |
getConfigKey()
Get value of field: configKey |
T |
getConfiguration()
Get configuration object for the specified key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigHolder(T configuration)
configuration
- instance of configuration object
IConfiguration
public ConfigHolder(java.lang.String configLocation, T configuration)
configLocation
- location of configuration file/streamconfiguration
- instance of configuration object
IConfiguration
Method Detail |
---|
public T getConfiguration()
public java.lang.String getConfigKey()
|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |