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

HttpSessionListener (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

javax.servlet.http
Interface HttpSessionListener

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

Since:
v 2.3
See Also:
HttpSessionEvent

Method Summary
 void sessionCreated(HttpSessionEvent se)
          Notification that a session was created.
 void sessionDestroyed(HttpSessionEvent se)
          Notification that a session is about to be invalidated.
 

Method Detail

sessionCreated

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

Parameters:
se - the notification event

sessionDestroyed

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

Parameters:
se - the notification event

JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.