HttpSessionAttributeListener (Java EE 5)

Java EE API


javax.servlet.http Interface HttpSessionAttributeListener

All Superinterfaces:
EventListener

public interface HttpSessionAttributeListener
extends EventListener

Implements: java.util.EventListener

为了获取此 Web 应用程序内会话属性列表更改的通知,可实现此侦听器接口。
英文文档:

This listener interface can be implemented in order to get notifications of changes to the attribute lists of sessions within this web application.

Since:
v 2.3

Method Summary
 void
 void
 void
 

Method Detail

public void attributeAdded(HttpSessionBindingEvent se)
通知已将属性添加到会话。在添加属性之后调用。
英文文档:

attributeAdded

void attributeAdded(HttpSessionBindingEvent se)
Notification that an attribute has been added to a session. Called after the attribute is added.


public void attributeRemoved(HttpSessionBindingEvent se)
通知属性已从会话中移除。在移除属性之后调用。
英文文档:

attributeRemoved

void attributeRemoved(HttpSessionBindingEvent se)
Notification that an attribute has been removed from a session. Called after the attribute is removed.


public void attributeReplaced(HttpSessionBindingEvent se)
通知已替换会话中的一个属性。在替换属性之后调用。
英文文档:

attributeReplaced

void attributeReplaced(HttpSessionBindingEvent se)
Notification that an attribute has been replaced in a session. Called after the attribute is replaced.



Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!