Collection plugins = conf.getConfiguration().getContainerLifecyclePlugins();
Iterator i = plugins.iterator();
ClassLoader loader = Thread.currentThread().getContextClassLoader();
while (i.hasNext())
{
ContainerLifecyclePlugin plugin = (ContainerLifecyclePlugin)i.next();
try
{
Class classType = loader.loadClass(plugin.getType());
org.exoplatform.container.ContainerLifecyclePlugin instance =
(org.exoplatform.container.ContainerLifecyclePlugin)classType.newInstance();
container.addContainerLifecylePlugin(instance);
}
catch (Exception ex)