A Phase is a single step in the processing of a
JavaServer Faces request throughout its entire javax.faces.lifecycle.Lifecycle.
Each Phase performs the required transitions on the state
information in the FacesContext associated with this request.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | doPhase(FacesContext
the FacesContext for the current request context, Lifecycle the lifecycle for this request lifecycle, ListIterator<PhaseListener> listeners)Performs PhaseListener processing and invokes the execute method of the Phase. |
| public abstract void | execute(FacesContext
FacesContext for the current request being processed context)Perform all state transitions required by the current phase of the
request processing |
| public abstract PhaseId | |
| protected void | handleAfterPhase(FacesContext
the FacesContext for the current request context, ListIterator<PhaseListener> a ListIterator for the PhaseListeners that need
to be invoked listenersIterator, PhaseEvent the event to pass to each of the invoked listeners event)Handle |
| protected void | handleBeforePhase(FacesContext
the FacesContext for the current request context, ListIterator<PhaseListener> a ListIterator for the PhaseListeners that need
to be invoked listenersIterator, PhaseEvent the event to pass to each of the invoked listeners event)Handle |
| protected void | |
| protected void | |
| private boolean | Returns: true if FacesContext.responseComplete()
or FacesContext.renderResponse() and the phase is not
RENDER_RESPONSE, otherwise return falsethe FacesContext for the current request context)
|
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| Phase | back to summary |
|---|---|
| public Phase() | |
| doPhase | back to summary |
|---|---|
| public void doPhase(FacesContext context, Lifecycle lifecycle, ListIterator<PhaseListener> listeners) Performs PhaseListener processing and invokes the execute method of the Phase.
| |
| execute | back to summary |
|---|---|
| public abstract void execute(FacesContext context) throws FacesException Perform all state transitions required by the current phase of the
request processing
| |
| getId | back to summary |
|---|---|
public abstract PhaseId getId()
| |
| handleAfterPhase | back to summary |
|---|---|
| protected void handleAfterPhase(FacesContext context, ListIterator<PhaseListener> listenersIterator, PhaseEvent event) Handle
| |
| handleBeforePhase | back to summary |
|---|---|
| protected void handleBeforePhase(FacesContext context, ListIterator<PhaseListener> listenersIterator, PhaseEvent event) Handle
| |
| queueException | back to summary |
|---|---|
| protected void queueException(FacesContext ctx, Throwable t) | |
| queueException | back to summary |
|---|---|
| protected void queueException(FacesContext ctx, Throwable t, String booleanKey) | |
| shouldSkip | back to summary |
|---|---|
private boolean shouldSkip(FacesContext context)
| |