Liferay 6.2-ce-ga5

com.liferay.portal.kernel.servlet
Class PluginContextListener

java.lang.Object
  extended by com.liferay.portal.kernel.util.BasePortalLifecycle
      extended by com.liferay.portal.kernel.servlet.PluginContextListener
All Implemented Interfaces:
PortalLifecycle, EventListener, javax.servlet.ServletContextAttributeListener, javax.servlet.ServletContextListener
Direct Known Subclasses:
SecurePluginContextListener

public class PluginContextListener
extends BasePortalLifecycle
implements javax.servlet.ServletContextAttributeListener, javax.servlet.ServletContextListener


Field Summary
static String PLUGIN_CLASS_LOADER
           
protected  ClassLoader pluginClassLoader
           
protected  javax.servlet.ServletContext servletContext
           
 
Fields inherited from interface com.liferay.portal.kernel.util.PortalLifecycle
METHOD_ALL, METHOD_DESTROY, METHOD_INIT
 
Constructor Summary
PluginContextListener()
           
 
Method Summary
 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()
           
 
Methods inherited from class com.liferay.portal.kernel.util.BasePortalLifecycle
portalDestroy, portalInit, registerPortalLifecycle, registerPortalLifecycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_CLASS_LOADER

public static final String PLUGIN_CLASS_LOADER
See Also:
Constant Field Values

pluginClassLoader

protected ClassLoader pluginClassLoader

servletContext

protected javax.servlet.ServletContext servletContext
Constructor Detail

PluginContextListener

public PluginContextListener()
Method Detail

attributeAdded

public void attributeAdded(javax.servlet.ServletContextAttributeEvent servletContextAttributeEvent)
Specified by:
attributeAdded in interface javax.servlet.ServletContextAttributeListener

attributeRemoved

public void attributeRemoved(javax.servlet.ServletContextAttributeEvent servletContextAttributeEvent)
Specified by:
attributeRemoved in interface javax.servlet.ServletContextAttributeListener

attributeReplaced

public void attributeReplaced(javax.servlet.ServletContextAttributeEvent servletContextAttributeEvent)
Specified by:
attributeReplaced in interface javax.servlet.ServletContextAttributeListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

doPortalDestroy

protected void doPortalDestroy()
                        throws Exception
Specified by:
doPortalDestroy in class BasePortalLifecycle
Throws:
Exception

doPortalInit

protected void doPortalInit()
                     throws Exception
Specified by:
doPortalInit in class BasePortalLifecycle
Throws:
Exception

fireDeployEvent

protected void fireDeployEvent()

fireUndeployEvent

protected void fireUndeployEvent()

Liferay 6.2-ce-ga5