com.plumtree.uiinfrastructure.web
Class SessionListener

java.lang.Object
  extended by 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

Field Summary
 java.lang.String LISTENER_KEY
           
static SessionListener m_globalSessionListener
           
 
Method Summary
 void Bind(HttpSession session)
          Binds this event listener to this HTTP session
static SessionListener GetSessionListener()
          Global singleton session binding handler
 void valueBound(HttpSessionBindingEvent arg0)
           
 void valueUnbound(HttpSessionBindingEvent arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_globalSessionListener

public static SessionListener m_globalSessionListener

LISTENER_KEY

public java.lang.String LISTENER_KEY
Method Detail

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 -



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.