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

All Implemented Interfaces:

Objects that are bound to a session may listen to container events notifying them that sessions will be passivated and that session will be activated. A container that migrates session between VMs or persists sessions is required to notify all attributes bound to sessions implementing HttpSessionActivationListener.
Method from javax.servlet.http.HttpSessionActivationListener Summary:
sessionDidActivate,   sessionWillPassivate
Method from javax.servlet.http.HttpSessionActivationListener Detail:
 public  void sessionDidActivate(HttpSessionEvent se)
    Notification that the session has just been activated.
 public  void sessionWillPassivate(HttpSessionEvent se)
    Notification that the session is about to be passivated.