Class PluginContextListener
Object
com.liferay.portal.kernel.servlet.PluginContextListener
- All Implemented Interfaces:
EventListener
,javax.servlet.ServletContextAttributeListener
,javax.servlet.ServletContextListener
- Direct Known Subclasses:
SecurePluginContextListener
public class PluginContextListener
extends Object
implements javax.servlet.ServletContextAttributeListener, javax.servlet.ServletContextListener
- Author:
- Brian Wing Shun Chan
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
protected ClassLoader
protected javax.servlet.ServletContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
protected void
-
Field Details
-
PLUGIN_CLASS_LOADER
- See Also:
-
pluginClassLoader
-
servletContext
protected javax.servlet.ServletContext servletContext
-
-
Constructor Details
-
PluginContextListener
public PluginContextListener()
-
-
Method Details
-
attributeAdded
public void attributeAdded(javax.servlet.ServletContextAttributeEvent servletContextAttributeEvent) - Specified by:
attributeAdded
in interfacejavax.servlet.ServletContextAttributeListener
-
attributeRemoved
public void attributeRemoved(javax.servlet.ServletContextAttributeEvent servletContextAttributeEvent) - Specified by:
attributeRemoved
in interfacejavax.servlet.ServletContextAttributeListener
-
attributeReplaced
public void attributeReplaced(javax.servlet.ServletContextAttributeEvent servletContextAttributeEvent) - Specified by:
attributeReplaced
in interfacejavax.servlet.ServletContextAttributeListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) - Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent) - Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
-
fireDeployEvent
protected void fireDeployEvent() -
fireUndeployEvent
protected void fireUndeployEvent()
-