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, toString
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 instanceNullPointerException
- if context
or
phaseId
or Lifecycle
is null
public FacesContext getFacesContext()
Return the FacesContext
for the request being processed.
FacesContext
for the current request.Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.