站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.3.1 API Specifications

Java 2 Platform EE v1.3: Interface HttpSessionActivationListener - Java Platform, Enterprise Edition v1.3.1 API Specifications


javax.servlet.http
Interface HttpSessionActivationListener

All Superinterfaces:
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.

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

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.



The CHM file was converted to HTM by Trial versi