|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.germinus.easyconf.EasyConf
Main class to obtain the configuration of a software component.
The main method is getConfiguration
which must be
given the name of a component.
Method Summary | |
static ComponentConfiguration |
getConfiguration(java.lang.String componentName)
Get the full configuration of the given component. |
static ComponentConfiguration |
getConfiguration(java.lang.String companyId,
java.lang.String componentName)
Get the full configuration of the given component, for the given company. |
static void |
refreshAll()
Refresh the configuration of all components KNOWN BUG: this method does not refresh the properties configuration because the underlying library Jakarta Commons Configuration also contains a cache which is not refreshable. |
static void |
refreshComponent(java.lang.String componentName)
Refresh the configuration of the given component KNOWN BUG: this method does not refresh the properties configuration because the underlying library Jakarta Commons Configuration also contains a cache which is not refreshable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ComponentConfiguration getConfiguration(java.lang.String componentName)
componentName
- any String which can be used to identified a
configuration component.
ComponentConf
instancepublic static ComponentConfiguration getConfiguration(java.lang.String companyId, java.lang.String componentName)
companyId
- the identifier of the company whose specific
configuration should be readcomponentName
- any String which can be used to identified a
configuration component.
ComponentConf
instancepublic static void refreshComponent(java.lang.String componentName)
public static void refreshAll()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |