// Need to remove the responsibility for offering configuration to other class.
_logger.info("Cannot offer remaining config to other plugins, can't find app registry");
return;
}
final ConfigurationManager configurationManager = appRegistry.getConfigurationManager();
// Process the elements in the configuration
for (String element : elements)
{
Configuration handled = element.length() == 0 ? configuration : configuration.subset(element);
String configurationElement = element;
if (path.length() > 0)
{
configurationElement = path + "." + configurationElement;
}
List<ConfigurationPlugin> handlers = configurationManager.getConfigurationPlugins(configurationElement, handled);
if(_logger.isDebugEnabled())
{
_logger.debug("For '" + element + "' found handlers (" + handlers.size() + "):" + handlers);
}