ConfigurationProcessor p = new ConfigurationProcessor();
p.addConfigurationResourceHandler( new FileConfigurationResourceHandler() );
p.addConfigurationResourceHandler( new DirectoryConfigurationResourceHandler() );
configuration = p.process( configuration, Collections.EMPTY_MAP );
}