PhaseListener (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.faces.event Interface PhaseListener

所有父接口:
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.


方法摘要
 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.
 

方法详细信息

afterPhase

void afterPhase(PhaseEvent event)

Handle a notification that the processing for a particular phase has just been completed.


beforePhase

void beforePhase(PhaseEvent event)

Handle a notification that the processing for a particular phase of the request processing lifecycle is about to begin.


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 the PhaseId class, including PhaseId.ANY_PHASE to indicate an interest in being notified for all standard phases.


Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.