com.liferay.portal.kernel.servlet
Class SecurePluginContextListener

java.lang.Object
  extended by com.liferay.portal.kernel.util.BasePortalLifecycle
      extended by com.liferay.portal.kernel.servlet.PluginContextListener
          extended by com.liferay.portal.kernel.servlet.SecurePluginContextListener
All Implemented Interfaces:
PortalLifecycle, java.util.EventListener, javax.servlet.http.HttpSessionActivationListener, javax.servlet.http.HttpSessionAttributeListener, javax.servlet.http.HttpSessionBindingListener, javax.servlet.http.HttpSessionListener, javax.servlet.ServletContextAttributeListener, javax.servlet.ServletContextListener, javax.servlet.ServletRequestAttributeListener, javax.servlet.ServletRequestListener

public class SecurePluginContextListener
extends PluginContextListener
implements javax.servlet.http.HttpSessionActivationListener, javax.servlet.http.HttpSessionAttributeListener, javax.servlet.http.HttpSessionBindingListener, javax.servlet.http.HttpSessionListener, javax.servlet.ServletRequestAttributeListener, javax.servlet.ServletRequestListener

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portal.kernel.servlet.PluginContextListener
PLUGIN_CLASS_LOADER, pluginClassLoader, servletContext
 
Fields inherited from interface com.liferay.portal.kernel.util.PortalLifecycle
METHOD_ALL, METHOD_DESTROY, METHOD_INIT
 
Constructor Summary
SecurePluginContextListener()
           
 
Method Summary
 void attributeAdded(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
           
 void attributeAdded(javax.servlet.ServletRequestAttributeEvent servletRequestAttributeEvent)
           
 void attributeRemoved(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
           
 void attributeRemoved(javax.servlet.ServletRequestAttributeEvent servletRequestAttributeEvent)
           
 void attributeReplaced(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
           
 void attributeReplaced(javax.servlet.ServletRequestAttributeEvent servletRequestAttributeEvent)
           
protected  void fireDeployEvent()
           
protected  void fireUndeployEvent()
           
protected  void instantiatingListener(java.lang.String listenerClassName)
           
protected  void instantiatingListeners()
           
 void requestDestroyed(javax.servlet.ServletRequestEvent servletRequestEvent)
           
 void requestInitialized(javax.servlet.ServletRequestEvent servletRequestEvent)
           
 void sessionCreated(javax.servlet.http.HttpSessionEvent httpSessionEvent)
           
 void sessionDestroyed(javax.servlet.http.HttpSessionEvent httpSessionEvent)
           
 void sessionDidActivate(javax.servlet.http.HttpSessionEvent httpSessionEvent)
           
 void sessionWillPassivate(javax.servlet.http.HttpSessionEvent httpSessionEvent)
           
 void valueBound(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
           
 void valueUnbound(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
           
 
Methods inherited from class com.liferay.portal.kernel.servlet.PluginContextListener
attributeAdded, attributeRemoved, attributeReplaced, contextDestroyed, contextInitialized, doPortalDestroy, doPortalInit
 
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
 

Constructor Detail

SecurePluginContextListener

public SecurePluginContextListener()
Method Detail

attributeAdded

public void attributeAdded(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
Specified by:
attributeAdded in interface javax.servlet.http.HttpSessionAttributeListener

attributeAdded

public void attributeAdded(javax.servlet.ServletRequestAttributeEvent servletRequestAttributeEvent)
Specified by:
attributeAdded in interface javax.servlet.ServletRequestAttributeListener

attributeRemoved

public void attributeRemoved(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
Specified by:
attributeRemoved in interface javax.servlet.http.HttpSessionAttributeListener

attributeRemoved

public void attributeRemoved(javax.servlet.ServletRequestAttributeEvent servletRequestAttributeEvent)
Specified by:
attributeRemoved in interface javax.servlet.ServletRequestAttributeListener

attributeReplaced

public void attributeReplaced(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
Specified by:
attributeReplaced in interface javax.servlet.http.HttpSessionAttributeListener

attributeReplaced

public void attributeReplaced(javax.servlet.ServletRequestAttributeEvent servletRequestAttributeEvent)
Specified by:
attributeReplaced in interface javax.servlet.ServletRequestAttributeListener

requestDestroyed

public void requestDestroyed(javax.servlet.ServletRequestEvent servletRequestEvent)
Specified by:
requestDestroyed in interface javax.servlet.ServletRequestListener

requestInitialized

public void requestInitialized(javax.servlet.ServletRequestEvent servletRequestEvent)
Specified by:
requestInitialized in interface javax.servlet.ServletRequestListener

sessionCreated

public void sessionCreated(javax.servlet.http.HttpSessionEvent httpSessionEvent)
Specified by:
sessionCreated in interface javax.servlet.http.HttpSessionListener

sessionDestroyed

public void sessionDestroyed(javax.servlet.http.HttpSessionEvent httpSessionEvent)
Specified by:
sessionDestroyed in interface javax.servlet.http.HttpSessionListener

sessionDidActivate

public void sessionDidActivate(javax.servlet.http.HttpSessionEvent httpSessionEvent)
Specified by:
sessionDidActivate in interface javax.servlet.http.HttpSessionActivationListener

sessionWillPassivate

public void sessionWillPassivate(javax.servlet.http.HttpSessionEvent httpSessionEvent)
Specified by:
sessionWillPassivate in interface javax.servlet.http.HttpSessionActivationListener

valueBound

public void valueBound(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
Specified by:
valueBound in interface javax.servlet.http.HttpSessionBindingListener

valueUnbound

public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
Specified by:
valueUnbound in interface javax.servlet.http.HttpSessionBindingListener

fireDeployEvent

protected void fireDeployEvent()
Overrides:
fireDeployEvent in class PluginContextListener

fireUndeployEvent

protected void fireUndeployEvent()
Overrides:
fireUndeployEvent in class PluginContextListener

instantiatingListener

protected void instantiatingListener(java.lang.String listenerClassName)
                              throws java.lang.Exception
Throws:
java.lang.Exception

instantiatingListeners

protected void instantiatingListeners()
                               throws java.lang.Exception
Throws:
java.lang.Exception