public abstract class Phase
extends java.lang.Object
A Phase is a single step in the processing of a
JavaServer Faces request throughout its entire Lifecycle. Each
Phase performs the required transitions on the state
information in the FacesContext associated with this request.
| Constructor and Description |
|---|
Phase() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execute(javax.faces.context.FacesContext context)
Perform all state transitions required by the current phase of the
request processing
Lifecycle for a particular request. |
abstract javax.faces.event.PhaseId |
getId()
Returns the current
Lifecycle Phase identifier. |
public abstract void execute(javax.faces.context.FacesContext context)
throws javax.faces.FacesException
Perform all state transitions required by the current phase of the
request processing Lifecycle for a particular request.
Return one of the standard state change values (GOTO_EXIT,
GOTO_NEXT, or GOTO_RENDER) to indicate what
the request processing lifecycle should do next.
context - FacesContext for the current request being processedjavax.faces.FacesException - if a processing error occurred while
executing this phasepublic abstract javax.faces.event.PhaseId getId()
Returns the current Lifecycle Phase identifier.
Copyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.