Boolean.parseBoolean(config.get("persistenceEnabled"));
}
if (config.containsKey("configProviders")) {
configProviders = config.get("configProviders").split(",");
}
DelegatingCCProvider dprovider = new DelegatingCCProvider();
for (String configProvider : configProviders) {
Class<?> cClass = Class.forName(configProvider);
IClusterConfigProvider provider =
(IClusterConfigProvider) cClass.newInstance();
dprovider.addProvider(provider);
}
dprovider.init(this, context);
clusterConfigProvider = dprovider;
} catch (Exception e) {
throw new FloodlightModuleException("Could not instantiate config" +
"providers " + Arrays.toString(configProviders), e);
}