javax.faces.event
Class PhaseEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.faces.event.PhaseEvent
All Implemented Interfaces:
java.io.Serializable

public class PhaseEvent
extends java.util.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.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PhaseEvent(javax.faces.context.FacesContext context, javax.faces.event.PhaseId phaseId, javax.faces.lifecycle.Lifecycle lifecycle)
          Construct a new event object from the specified parameters.
 
Method Summary
 javax.faces.context.FacesContext getFacesContext()
          Return the FacesContext for the request being processed.
 javax.faces.event.PhaseId getPhaseId()
          Return the PhaseId representing the current request processing lifecycle phase.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PhaseEvent

public PhaseEvent(javax.faces.context.FacesContext context,
                  javax.faces.event.PhaseId phaseId,
                  javax.faces.lifecycle.Lifecycle lifecycle)

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

Parameters:
context - FacesContext for the current request
phaseId - Identifier of the current request processing lifecycle phase
lifecycle - Lifecycle instance
Throws:
java.lang.NullPointerException - if context or phaseId or Lifecycleis null
Method Detail

getFacesContext

public javax.faces.context.FacesContext getFacesContext()

Return the FacesContext for the request being processed.


getPhaseId

public javax.faces.event.PhaseId getPhaseId()

Return the PhaseId representing the current request processing lifecycle phase.



Copyright ? 2002-2004 Sun Microsystems, Inc. All Rights Reserved.