public class PluginContextListener extends BasePortalLifecycle implements javax.servlet.ServletContextAttributeListener, javax.servlet.ServletContextListener
Modifier and Type | Field and Description |
---|---|
static String |
PLUGIN_CLASS_LOADER |
protected ClassLoader |
pluginClassLoader |
protected javax.servlet.ServletContext |
servletContext |
METHOD_ALL, METHOD_DESTROY, METHOD_INIT
Constructor and Description |
---|
PluginContextListener() |
Modifier and Type | Method and Description |
---|---|
void |
attributeAdded(javax.servlet.ServletContextAttributeEvent servletContextAttributeEvent) |
void |
attributeRemoved(javax.servlet.ServletContextAttributeEvent servletContextAttributeEvent) |
void |
attributeReplaced(javax.servlet.ServletContextAttributeEvent servletContextAttributeEvent) |
void |
contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) |
void |
contextInitialized(javax.servlet.ServletContextEvent servletContextEvent) |
protected void |
doPortalDestroy() |
protected void |
doPortalInit() |
protected void |
fireDeployEvent() |
protected void |
fireUndeployEvent() |
portalDestroy, portalInit, registerPortalLifecycle, registerPortalLifecycle
public static final String PLUGIN_CLASS_LOADER
protected ClassLoader pluginClassLoader
protected javax.servlet.ServletContext servletContext
public void attributeAdded(javax.servlet.ServletContextAttributeEvent servletContextAttributeEvent)
attributeAdded
in interface javax.servlet.ServletContextAttributeListener
public void attributeRemoved(javax.servlet.ServletContextAttributeEvent servletContextAttributeEvent)
attributeRemoved
in interface javax.servlet.ServletContextAttributeListener
public void attributeReplaced(javax.servlet.ServletContextAttributeEvent servletContextAttributeEvent)
attributeReplaced
in interface javax.servlet.ServletContextAttributeListener
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
contextDestroyed
in interface javax.servlet.ServletContextListener
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
contextInitialized
in interface javax.servlet.ServletContextListener
protected void doPortalDestroy() throws Exception
doPortalDestroy
in class BasePortalLifecycle
Exception
protected void doPortalInit() throws Exception
doPortalInit
in class BasePortalLifecycle
Exception
protected void fireDeployEvent()
protected void fireUndeployEvent()