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, registerPortalLifecyclepublic 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.ServletContextAttributeListenerpublic void attributeRemoved(javax.servlet.ServletContextAttributeEvent servletContextAttributeEvent)
attributeRemoved in interface javax.servlet.ServletContextAttributeListenerpublic void attributeReplaced(javax.servlet.ServletContextAttributeEvent servletContextAttributeEvent)
attributeReplaced in interface javax.servlet.ServletContextAttributeListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
contextDestroyed in interface javax.servlet.ServletContextListenerpublic void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
contextInitialized in interface javax.servlet.ServletContextListenerprotected void doPortalDestroy()
throws Exception
doPortalDestroy in class BasePortalLifecycleExceptionprotected void doPortalInit()
throws Exception
doPortalInit in class BasePortalLifecycleExceptionprotected void fireDeployEvent()
protected void fireUndeployEvent()