Home » apache-tomcat-6.0.26-src » javax » servlet » http » [javadoc | source]
javax.servlet.http
public interface: HttpSessionBindingListener [javadoc | source]

All Implemented Interfaces:
    EventListener

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.
Method from javax.servlet.http.HttpSessionBindingListener Summary:
valueBound,   valueUnbound
Method from javax.servlet.http.HttpSessionBindingListener Detail:
 public  void valueBound(HttpSessionBindingEvent event)
    Notifies the object that it is being bound to a session and identifies the session.
 public  void valueUnbound(HttpSessionBindingEvent event)
    Notifies the object that it is being unbound from a session and identifies the session.