use of org.walkmod.conf.DummyConfigurationProvider in project walkmod-core by walkmod.
the class DynamicModulesConfigurationProvider method load.
@Override
public void load() throws ConfigurationException {
DummyConfigurationProvider dummy = new DummyConfigurationProvider();
dummy.init(configuration);
try {
configuration.runInitializers(dummy);
} catch (Exception e) {
throw new ConfigurationException("Error running initializers", e);
}
List<String> modules = configuration.getModules();
if (modules != null && !modules.isEmpty()) {
configuration.getChainConfigs().clear();
}
}
Aggregations