public static CompositeConfiguration createConfig() {
        CompositeConfiguration compositeConfiguration = new CompositeConfiguration();
        compositeConfiguration.addConfiguration(new EnvConfigurationWithSynonyms());
        compositeConfiguration.addConfiguration(new SystemPropertiesConfiguration());
        compositeConfiguration.addConfiguration(ConfigFileConfiguration.create("apiman.properties", "apiman.config.url")); //$NON-NLS-1$ //$NON-NLS-2$
        return compositeConfiguration;
    }
Factory for creating a configuration object from apiman.properties.

@author eric.wittmann@redhat.com
common/config/src/main/java/io/apiman/common/config/ConfigFactory.java