PhaseEvent (Java EE 5 SDK)

Java

Java EE 5 SDK

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


javax.faces.event Class PhaseEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.PhaseEvent
所有已实现的接口:
Serializable

public class PhaseEvent
extends EventObject

PhaseEvent represents the beginning or ending of processing for a particular phase of the request processing lifecycle, for the request encapsulated by the specified FacesContext.

另请参见:
Serialized Form

字段摘要
 
Fields inherited from class java.util.EventObject
source
 
构造器摘要
PhaseEvent(FacesContext context, PhaseId phaseId, Lifecycle lifecycle)
          Construct a new event object from the specified parameters.
 
方法摘要
 FacesContext getFacesContext()
          Return the FacesContext for the request being processed.
 PhaseId getPhaseId()
          Return the PhaseId representing the current request processing lifecycle phase.
 
类方法继承 java.util.EventObject
getSource, toString
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造器详细信息

PhaseEvent

public PhaseEvent(FacesContext context,
                  PhaseId phaseId,
                  Lifecycle lifecycle)

Construct a new event object from the specified parameters. The specified Lifecycle will be the source of this event.

参数:
context - FacesContext for the current request
phaseId - Identifier of the current request processing lifecycle phase
lifecycle - Lifecycle instance
抛出异常:
NullPointerException - if context or phaseId or Lifecycleis null

方法详细信息

getFacesContext

public FacesContext getFacesContext()

Return the FacesContext for the request being processed.


getPhaseId

public PhaseId getPhaseId()

Return the PhaseId representing the current request processing lifecycle phase.


Java EE 5 SDK

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


提交错误或意见

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