HttpSessionListener (Java EE 5 SDK)

Java

Java EE 5 SDK

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


javax.servlet.http Interface HttpSessionListener

所有父接口:
EventListener

public interface HttpSessionListener
extends EventListener

Implementations of this interface are notified of changes to the list of active sessions in a web application. To receive notification events, the implementation class must be configured in the deployment descriptor for the web application.

从以下版本开始:
v 2.3
另请参见:
HttpSessionEvent

方法摘要
 void sessionCreated(HttpSessionEvent se)
          Notification that a session was created.
 void sessionDestroyed(HttpSessionEvent se)
          Notification that a session is about to be invalidated.
 

方法详细信息

sessionCreated

void sessionCreated(HttpSessionEvent se)
Notification that a session was created.

参数:
se - the notification event

sessionDestroyed

void sessionDestroyed(HttpSessionEvent se)
Notification that a session is about to be invalidated.

参数:
se - the notification event

Java EE 5 SDK

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


提交错误或意见

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