{
String pluginName = entry.getKey();
VirtualHostPluginFactory factory = entry.getValue();
try
{
VirtualHostPlugin plugin = factory.newInstance(this);
// If we had configuration for the plugin the schedule it.
if (plugin != null)
{
_houseKeepingTasks.scheduleAtFixedRate(plugin, plugin.getDelay() / 2,
plugin.getDelay(), plugin.getTimeUnit());
_logger.info("Loaded VirtualHostPlugin:" + plugin);
}
}
catch (RuntimeException e)