axiom-core/src/main/java/org/axiom/configuration/ExternalConfigurationSourceFactory.java
public Configuration createConfiguration() {
        try {
            CompositeConfiguration config = new CompositeConfiguration();
            log.info("Configuring system properties.");
            config.addConfiguration(new SystemConfiguration());
            configureAdditionalExternalProperties(config);

            log.info("Configuring default properties in {}.", defaultConfigurationSourcePath);
            config.addConfiguration(new PropertiesConfiguration(defaultConfigurationSourcePath));
            return config;
        } catch (ConfigurationException e) {
            log.error(e.getLocalizedMessage());
            throw new RuntimeException(e.getLocalizedMessage(), e);
        }
    }
/**
     * Creates a new {@link org.apache.commons.configuration.Configuration} instance.
     * The returned {@link org.apache.commons.configuration.Configuration} is composed
     * of system properties, external (user defined) properties as defined by the
     * list of path locations in the {@code axiom.configuration.externals } system property
     * and default properties as defined by axiom-core.
     * @return A composite configuration of system properties, user supplied properties and
     * axiom's own internal and default properties.
     */
Creates a new  org.apache.commons.configuration.Configuration instance.
The returned  org.apache.commons.configuration.Configuration is composed
of system properties, external (user defined) properties as defined by the
list of path locations in the  axiom.configuration.externals  system property
and default properties as defined by axiom-core.
@return A composite configuration of system properties, user supplied properties and
axiom's own internal and default properties.
Creates a new org . apache . commons . configuration . Configuration instance . The returned org . apache . commons . configuration . Configuration is composed of system properties external ( user defined ) properties as defined by the list of path locations in the axiom . configuration . externals system property and default properties as defined by axiom - core . @return A composite configuration of system properties user supplied properties and axiom ' s own internal and default properties .
public Configuration createConfiguration() {
        try {
            CompositeConfiguration config = new CompositeConfiguration();
            log.info("Configuring system properties.");
            config.addConfiguration(new SystemConfiguration());
            configureAdditionalExternalProperties(config);
            log.info("Configuring default properties in {}.", defaultConfigurationSourcePath);
            config.addConfiguration(new PropertiesConfiguration(defaultConfigurationSourcePath));
            return config;
        } catch (ConfigurationException e) {
            log.error(e.getLocalizedMessage());
            throw new RuntimeException(e.getLocalizedMessage(), e);
        }
    }
public Configuration createConfiguration ( ) { try { CompositeConfiguration config = new CompositeConfiguration ( ) ; log . info ( "Configuring system properties." ) ; config . addConfiguration ( new SystemConfiguration ( ) ) ; configureAdditionalExternalProperties ( config ) ; log . info ( "Configuring default properties in {}." , defaultConfigurationSourcePath ) ; config . addConfiguration ( new PropertiesConfiguration ( defaultConfigurationSourcePath ) ) ; return config ; } catch ( ConfigurationException e ) { log . error ( e . getLocalizedMessage ( ) ) ; throw new RuntimeException ( e . getLocalizedMessage ( ) , e ) ; } }
Creates a new {@link org.apache.commons.configuration.Configuration} instance.
Creates a new { @link org . apache . commons . configuration . Configuration } instance .