IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.http
Class SessionContextLifecyleManager

java.lang.Object
  extended by com.ibm.btt.http.SessionContextLifecyleManager
All Implemented Interfaces:
java.util.EventListener, javax.servlet.http.HttpSessionListener

public class SessionContextLifecyleManager
extends java.lang.Object
implements javax.servlet.http.HttpSessionListener

This class is a HttpSessionListener. It focuses on creating the session context when the http session is created and destroy the session when the http session is expired. It is just used in web 2.0 channel.


Constructor Summary
SessionContextLifecyleManager()
           
 
Method Summary
 void sessionCreated(javax.servlet.http.HttpSessionEvent arg0)
          add the session entry to channel context when http session is created
 void sessionDestroyed(javax.servlet.http.HttpSessionEvent arg0)
          remove the session entry from channel context when http session is destroyed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionContextLifecyleManager

public SessionContextLifecyleManager()
Method Detail

sessionCreated

public void sessionCreated(javax.servlet.http.HttpSessionEvent arg0)
add the session entry to channel context when http session is created

Specified by:
sessionCreated in interface javax.servlet.http.HttpSessionListener
Parameters:
arg0 - the HttpSessionEvent event

sessionDestroyed

public void sessionDestroyed(javax.servlet.http.HttpSessionEvent arg0)
remove the session entry from channel context when http session is destroyed

Specified by:
sessionDestroyed in interface javax.servlet.http.HttpSessionListener
Parameters:
arg0 - the HttpSessionEvent event

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010