org.xmlBlaster.protocol.http.ajax
Class SessionTimeoutListener
java.lang.Object
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.
- Author:
- Marcel Ruff xmlBlaster@marcelruff.info 2007
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 |
log
private static java.util.logging.Logger log
blasterInstance
private BlasterInstance blasterInstance
SessionTimeoutListener
public SessionTimeoutListener(BlasterInstance blasterInstance)
valueBound
public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
- Specified by:
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
valueUnbound
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
- Specified by:
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener
Copyright © 1999-2014 The xmlBlaster.org contributers.