javax.servlet.http.HttpSessionListener翻译

<!-- ========= START OF TOP NAVBAR ======= --> <!-- -->
JavaTM 2 Platform
Ent. Ed. v1.4
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->

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. web应用中激活的会话列表中有变更,会通知该接口的实现。为了接收通知事件, 该实现类必须在web应用的部署描述符中配置。

Since:
v 2.3
See Also:
HttpSessionEvent

<!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><!-- -->

Method Summary
void sessionCreated(HttpSessionEventse)
Notification that a session was created. 通知会话已创建。
void sessionDestroyed(HttpSessionEventse)
Notification that a session is about to be invalidated. 通知会话将失效。

<!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><!-- -->

Method Detail
<!-- -->

sessionCreated

public void sessionCreated(HttpSessionEventse)
Notification that a session was created. 通知会话已创建。
Parameters:
se - the notification event 通知事件

<!-- -->

sessionDestroyed

public void sessionDestroyed(HttpSessionEventse)
Notification that a session is about to be invalidated. 通知会话将失效。
Parameters:
se - the notification event 通知事件
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== --> <!-- -->
JavaTM 2 Platform
Ent. Ed. v1.4
<!-- ======== END OF BOTTOM NAVBAR ======= -->
Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.

你可能感兴趣的:(html,Web,servlet,sun)