HttpSessionActivationListener (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.servlet.http Interface HttpSessionActivationListener

所有父接口:
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.

从以下版本开始:
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

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.


Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.