Interface RuntimeConfiguration
-
public interface RuntimeConfiguration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 {@link http://commons.apache.org/configuration/apidocs/org/apache/commons/configuration/Configuration.html}
-
-
-
Method Detail
-
getComponentId
String getComponentId()
Return symbolic name of the component in configuration subsytem. Samples:- repository -> midpoint.repository
- provisioning -> midpoint.provisioning
- model -> midpoint.model
- Returns:
- String name of component
-
getCurrentConfiguration
org.apache.commons.configuration.Configuration getCurrentConfiguration()
Returns current component configuration in commons configuration structure {@link 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;
- Returns:
- Commons configuration
-
-