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.
source| 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
FacesContext for the request being processed. |
PhaseId |
getPhaseId()
Return the
PhaseId representing the current request processing lifecycle phase. |
getSource, toStringpublic 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 instanceNullPointerException - if context or phaseId or Lifecycleis
nullpublic FacesContext getFacesContext()
Return the FacesContext for the request being processed.
FacesContext for the current request.Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.