Uses of Class
jakarta.faces.event.PhaseId
-
Uses of PhaseId in jakarta.faces.component
Modifier and TypeMethodDescriptionvoid
UIViewRoot.broadcastEvents
(FacesContext context, PhaseId phaseId) Broadcast any events that have been queued. -
Uses of PhaseId in jakarta.faces.context
Modifier and TypeMethodDescriptionFacesContext.getCurrentPhaseId()
Return the value last set on thisFacesContext
instance whenFacesContext.setCurrentPhaseId(jakarta.faces.event.PhaseId)
was called.FacesContextWrapper.getCurrentPhaseId()
The default behavior of this method is to callFacesContext.getCurrentPhaseId()
on the wrappedFacesContext
object.Modifier and TypeMethodDescriptionabstract void
PartialViewContext.processPartial
(PhaseId phaseId) Perform lifecycle processing on components during the indicatedphaseId
.void
PartialViewContextWrapper.processPartial
(PhaseId phaseId) The default behavior of this method is to callPartialViewContext.processPartial(PhaseId)
on the wrappedPartialViewContext
object.void
FacesContext.setCurrentPhaseId
(PhaseId currentPhaseId) The implementation must call this method at the earliest possble point in time after entering into a new phase in the request processing lifecycle.void
FacesContextWrapper.setCurrentPhaseId
(PhaseId currentPhaseId) The default behavior of this method is to callFacesContext.setCurrentPhaseId(PhaseId)
on the wrappedFacesContext
object. -
Uses of PhaseId in jakarta.faces.event
Modifier and TypeFieldDescriptionstatic final PhaseId
PhaseId.ANY_PHASE
Identifier that indicates an interest in events, no matter which request processing phase is being performed.static final PhaseId
PhaseId.APPLY_REQUEST_VALUES
Identifier that indicates an interest in events queued for the Apply Request Values phase of the request processing lifecycle.static final PhaseId
PhaseId.INVOKE_APPLICATION
Identifier that indicates an interest in events queued for the Invoke Application phase of the request processing lifecycle.static final PhaseId
PhaseId.PROCESS_VALIDATIONS
Identifier that indicates an interest in events queued for the Process Validations phase of the request processing lifecycle.static final PhaseId
PhaseId.RENDER_RESPONSE
Identifier for the Render Response phase of the request processing lifecycle.static final PhaseId
PhaseId.RESTORE_VIEW
Identifier that indicates an interest in events queued for the Restore View phase of the request processing lifecycle.static final PhaseId
PhaseId.UPDATE_MODEL_VALUES
Identifier that indicates an interest in events queued for the Update Model Values phase of the request processing lifecycle.Modifier and TypeFieldDescriptionPhaseId.VALUES
List of validPhaseId
instances, in ascending order of their ordinal value.Modifier and TypeMethodDescriptionExceptionQueuedEventContext.getPhaseId()
Return thePhaseId
which was being processed when the exception was thrown.FacesEvent.getPhaseId()
Return the identifier of the request processing phase during which this event should be delivered.PhaseEvent.getPhaseId()
Return thePhaseId
representing the current request processing lifecycle phase.PhaseListener.getPhaseId()
Return the identifier of the request processing phase during which this listener is interested in processingPhaseEvent
events.static PhaseId
PhaseId.phaseIdValueOf
(String phase) Return aPhaseId
representation of the argumentphase
.Modifier and TypeMethodDescriptionvoid
FacesEvent.setPhaseId
(PhaseId phaseId) Set thePhaseId
during which this event will be delivered.ModifierConstructorDescriptionExceptionQueuedEventContext
(FacesContext context, Throwable thrown, UIComponent component, PhaseId phaseId) Instantiate a newExceptionQueuedEventContext
that indicates the argumentThrowable
just occurred, relevant to the argumentcomponent
, during the lifecycle phasephaseId
.PhaseEvent
(FacesContext context, PhaseId phaseId, Lifecycle lifecycle) Construct a new event object from the specified parameters.