|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.portlets.user.homelibrary.util.config.easyconf.EasyConf
public class 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(String componentName)
Get the full configuration of the given component. |
static ComponentConfiguration |
getConfiguration(String companyId,
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(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(String componentName)
componentName - any String which can be used to identified a
configuration component.
ComponentConf instance
public static ComponentConfiguration getConfiguration(String companyId,
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(String componentName)
public static void refreshAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||