|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.faces.event Interface PhaseListener
- All Superinterfaces:
- EventListener, Serializable
public interface PhaseListener
- extends EventListener, Serializable
该接口由希望在请求处理生命周期的每个标准阶段的处理开始和结束时获得通知的对象实现。
An interface implemented by objects that wish to be notified at the beginning and ending of processing for each standard phase of the request processing lifecycle.
Method Summary | |
---|---|
void |
afterPhase(PhaseEvent event)
Handle a notification that the processing for a particular phase has just been completed. |
void |
beforePhase(PhaseEvent event)
Handle a notification that the processing for a particular phase of the request processing lifecycle is about to begin. |
PhaseId |
getPhaseId()
Return the identifier of the request processing phase during which this listener is interested in processing PhaseEvent
events. |
Method Detail |
---|
public void
afterPhase(PhaseEvent event)
处理通知“特定阶段的处理刚刚完成”。
afterPhase
void afterPhase(PhaseEvent event)
Handle a notification that the processing for a particular phase has just been completed.
public void
beforePhase(PhaseEvent event)
处理通知“对请求处理生命周期特定阶段的处理即将开始”。
beforePhase
void beforePhase(PhaseEvent event)
Handle a notification that the processing for a particular phase of the request processing lifecycle is about to begin.
public PhaseId
getPhaseId()
返回请求处理阶段(该阶段内此侦听器侦听处理 PhaseEvent
事件)的标识符。合法值是由 PhaseId
类定义的单件实例,包括 PhaseId.ANY_PHASE
(表示希望获得所有标准阶段的通知)。
getPhaseId
PhaseId getPhaseId()
Return the identifier of the request processing phase during which this listener is interested in processing
PhaseEvent
events. Legal values are the singleton instances defined by thePhaseId
class, includingPhaseId.ANY_PHASE
to indicate an interest in being notified for all standard phases.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!