xmlBlaster 2.2.0 API

Class SessionTimeoutListener

  extended by org.xmlBlaster.protocol.http.ajax.SessionTimeoutListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.http.HttpSessionBindingListener

 class SessionTimeoutListener
extends java.lang.Object
implements javax.servlet.http.HttpSessionBindingListener

Detect when a servlet session dies (with tomcat typically after one hour). Causes an object to be notified when it is bound to or unbound from a session. The object is notified by an HttpSessionBindingEvent object. This may be as a result of a servlet programmer explicitly unbinding an attribute from a session, due to a session being invalidated, or due to a session timing out.

Marcel Ruff xmlBlaster@marcelruff.info 2007

Field Summary
private  BlasterInstance blasterInstance
private static java.util.logging.Logger log
Constructor Summary
SessionTimeoutListener(BlasterInstance blasterInstance)
Method Summary
 void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
 void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


private static java.util.logging.Logger log


private BlasterInstance blasterInstance
Constructor Detail


public SessionTimeoutListener(BlasterInstance blasterInstance)
Method Detail


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


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

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.