public class PluginContextListener extends BasePortalLifecycle implements javax.servlet.ServletContextAttributeListener, javax.servlet.ServletContextListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PLUGIN_CLASS_LOADER
Deprecated.
As of 7.0.0, replaced by
ServletContext.getClassLoader(). |
protected java.lang.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@Deprecated public static final java.lang.String PLUGIN_CLASS_LOADER
ServletContext.getClassLoader().protected java.lang.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 java.lang.Exception
doPortalDestroy in class BasePortalLifecyclejava.lang.Exceptionprotected void doPortalInit()
throws java.lang.Exception
doPortalInit in class BasePortalLifecyclejava.lang.Exceptionprotected void fireDeployEvent()
protected void fireUndeployEvent()