Interface HttpSessionActivationListener

All Superinterfaces:

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.
Servlet 2.3
  • Method Details

    • sessionWillPassivate

      void sessionWillPassivate(HttpSessionEvent se)
      Notification that the session is about to be passivated.
      se - Information about the session this is about to be passivated
    • sessionDidActivate

      void sessionDidActivate(HttpSessionEvent se)
      Notification that the session has just been activated.
      se - Information about the session this has just been activated