|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.faces.lifecycle.Phase
public abstract class Phase
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 Summary | |
---|---|
Phase()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Phase()
Method Detail |
---|
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 processed
javax.faces.FacesException
- if a processing error occurred while
executing this phasepublic abstract javax.faces.event.PhaseId getId()
Returns the current Lifecycle
Phase identifier.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |