com.plumtree.uiinfrastructure.web
Class SessionListener
java.lang.Object
com.plumtree.uiinfrastructure.web.SessionListener
public class SessionListener
- extends java.lang.Object
Class to listen for HTTP session start and end events for proper session counting
- Author:
- DavidP
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_globalSessionListener
public static SessionListener m_globalSessionListener
LISTENER_KEY
public java.lang.String LISTENER_KEY
GetSessionListener
public static SessionListener GetSessionListener()
- Global singleton session binding handler
- Returns:
- CR-SDC 01/30/04
The GetSessionListner should not initialize the singleton, it is not thread safe. This should simply read.
return m_globalSessionListener;
and the initialization should be in the initialization of the static final variable.
valueBound
public void valueBound(HttpSessionBindingEvent arg0)
valueUnbound
public void valueUnbound(HttpSessionBindingEvent arg0)
Bind
public void Bind(HttpSession session)
- Binds this event listener to this HTTP session
- Parameters:
session
-