|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RuntimeConfiguration
| Method Summary | |
|---|---|
java.lang.String |
getComponentId()
Return symbolic name of the component in configuration subsytem. |
org.apache.commons.configuration.Configuration |
getCurrentConfiguration()
Returns current component configuration in commons configuration structure http://commons.apache.org/configuration/apidocs/org/apache/commons/configuration/Configuration.html |
| Method Detail |
|---|
java.lang.String getComponentId()
org.apache.commons.configuration.Configuration getCurrentConfiguration()
http://commons.apache.org/configuration/apidocs/org/apache/commons/configuration/Configuration.html
Example of structure for repository:
Configuration config = new BaseConfiguration();
config.setProperty("host", "localhost");
config.setProperty("port" , 12345);
return config;
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||