Package com.jalios.jcms
Class JcmsSessionTrackerListener
- java.lang.Object
-
- com.jalios.jcms.JcmsSessionTrackerListener
-
- All Implemented Interfaces:
java.util.EventListener,javax.servlet.http.HttpSessionAttributeListener,javax.servlet.http.HttpSessionListener
public class JcmsSessionTrackerListener extends java.lang.Object implements javax.servlet.http.HttpSessionAttributeListener, javax.servlet.http.HttpSessionListenerThis listener class tracks the addition, replacement or removal of the TRACKING_ATTRIBUTE_NAME attribute to the J2EE session. It updates theJcmsSessionTrackerin consequence.- Since:
- jcms-5.0.0
- Author:
- Olivier Jaquemet
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTRACKING_ATTRIBUTE_NAME
-
Constructor Summary
Constructors Constructor Description JcmsSessionTrackerListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattributeAdded(javax.servlet.http.HttpSessionBindingEvent be)voidattributeRemoved(javax.servlet.http.HttpSessionBindingEvent be)voidattributeReplaced(javax.servlet.http.HttpSessionBindingEvent be)voidsessionCreated(javax.servlet.http.HttpSessionEvent se)voidsessionDestroyed(javax.servlet.http.HttpSessionEvent se)
-
-
-
Field Detail
-
TRACKING_ATTRIBUTE_NAME
public static final java.lang.String TRACKING_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
attributeAdded
public void attributeAdded(javax.servlet.http.HttpSessionBindingEvent be)
- Specified by:
attributeAddedin interfacejavax.servlet.http.HttpSessionAttributeListener
-
attributeReplaced
public void attributeReplaced(javax.servlet.http.HttpSessionBindingEvent be)
- Specified by:
attributeReplacedin interfacejavax.servlet.http.HttpSessionAttributeListener
-
attributeRemoved
public void attributeRemoved(javax.servlet.http.HttpSessionBindingEvent be)
- Specified by:
attributeRemovedin interfacejavax.servlet.http.HttpSessionAttributeListener
-
sessionCreated
public void sessionCreated(javax.servlet.http.HttpSessionEvent se)
- Specified by:
sessionCreatedin interfacejavax.servlet.http.HttpSessionListener
-
sessionDestroyed
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
- Specified by:
sessionDestroyedin interfacejavax.servlet.http.HttpSessionListener
-
-