FacesListener (Java EE 5)

Java EE API


javax.faces.event Interface FacesListener

All Superinterfaces:
EventListener
All Known Subinterfaces:
ActionListener, ValueChangeListener
All Known Implementing Classes:
MethodExpressionActionListener, MethodExpressionValueChangeListener

public interface FacesListener
extends EventListener

Implements: java.util.EventListener

各种类型的 FacesEvent 的事件侦听器的常规基本接口。特定 FacesEvent 事件类型的所有侦听器接口都必须扩展此接口。

此接口的实现必须有一个无参数公共构造方法。如果实现此接口的类具有需要在请求之间保存和恢复的状态,则该类还必须实现 javax.faces.component.StateHolder

英文文档:

A generic base interface for event listeners for various types of FacesEvents. All listener interfaces for specific FacesEvent event types must extend this interface.

Implementations of this interface must have a zero-args public constructor. If the class that implements this interface has state that needs to be saved and restored between requests, the class must also implement StateHolder.




Submit a bug or feature

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

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

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