factory.setThrowExceptionOnMissing(true);
Log log = LogFactory.getLog(getClass());
factory.setLogger(log);
factory.clearErrorListeners();
factory.clearConfigurationListeners();
ConfigurationListenerTestImpl l =
new ConfigurationListenerTestImpl(factory);
factory.addConfigurationListener(l);
DefaultConfigurationBuilder.ConfigurationDeclaration decl =
new DefaultConfigurationBuilder.ConfigurationDeclaration(
factory,
factory.configurationAt("override.configuration"));