javax.servlet.http
インタフェース HttpSessionActivationListener

すべてのスーパーインタフェース:
java.util.EventListener

public interface HttpSessionActivationListener
extends java.util.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.

導入されたバージョン:
2.3

メソッドの概要
 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.
 

メソッドの詳細

sessionWillPassivate

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


sessionDidActivate

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



Copyright © 1999-2002 The Apache Software Foundation. All Rights Reserved.