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.
Copyright © 2017 JBoss by Red Hat. All rights reserved.