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.
 
| Constructor and Description | 
|---|
| PhaseEvent(FacesContext context,
          PhaseId phaseId,
          Lifecycle lifecycle)
 Construct a new event object from the specified parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
| FacesContext | getFacesContext()
 Return the  FacesContextfor the request being processed. | 
| PhaseId | getPhaseId()
 Return the  PhaseIdrepresenting the current request processing lifecycle phase. | 
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 requestphaseId - Identifier of the current request processing lifecycle phaselifecycle - Lifecycle instancejava.lang.NullPointerException - if context or phaseId or Lifecycleis
 nullpublic FacesContext getFacesContext()
 Return the FacesContext for the request being processed.
 
FacesContext for the current request.