public class ViewPhaseListener extends Object implements javax.faces.event.PhaseListener
ViewPhaseListener is a JavaServer Faces PhaseListener
that implements phase related functionality for the view controller
portion of Shale.
| Modifier and Type | Field and Description |
|---|---|
static String |
PHASE_ID
Request scope attribute under which the
PhaseId for the
current phase is exposed. |
| Constructor and Description |
|---|
ViewPhaseListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPhase(javax.faces.event.PhaseEvent event)
Perform after-phase processing for the phase defined in the
specified event.
|
void |
beforePhase(javax.faces.event.PhaseEvent event)
Perform before-phase processing for the phase defined in the
specified event.
|
javax.faces.event.PhaseId |
getPhaseId()
Return
PhaseId.ANY_PHASE, indicating our interest
in all phases of the request processing lifecycle. |
public static final String PHASE_ID
Request scope attribute under which the PhaseId for the
current phase is exposed.
public void afterPhase(javax.faces.event.PhaseEvent event)
Perform after-phase processing for the phase defined in the specified event.
afterPhase in interface javax.faces.event.PhaseListenerevent - PhaseEvent for the current eventpublic void beforePhase(javax.faces.event.PhaseEvent event)
Perform before-phase processing for the phase defined in the specified event.
beforePhase in interface javax.faces.event.PhaseListenerevent - PhaseEvent for the current eventpublic javax.faces.event.PhaseId getPhaseId()
Return PhaseId.ANY_PHASE, indicating our interest
in all phases of the request processing lifecycle.
getPhaseId in interface javax.faces.event.PhaseListenerCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.