javax.servlet.http
Interface HttpSessionActivationListener

All Superinterfaces:
EventListener

public interface HttpSessionActivationListener
extends EventListener

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.

Since:
2.3

Method Summary
 void sessionDidActivate(HttpSessionEvent se)
          Notification that the session has just been activated.
 void sessionWillPassivate(HttpSessionEvent se)
          Notification that the session is about to be passivated.
 

Method Detail

sessionWillPassivate

void sessionWillPassivate(HttpSessionEvent se)
Notification that the session is about to be passivated.


sessionDidActivate

void sessionDidActivate(HttpSessionEvent se)
Notification that the session has just been activated.


(Built by coreservlets)

As of July 2010, there were no online versions of the servlet 3.0, JSP 2.2, and EL 2.2 Javadocs, except as part of the huge Java EE 6 API. So, I built them myself from the Tomcat 7 source code.

Java EE TutorialsJava EE Training