public class PreferencesPhaseListener extends com.webmethods.caf.faces.bean.BasePhaseListener implements PhaseListener
This class is not intended to be used by clients.
Constructor and Description |
---|
PreferencesPhaseListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterPhase(PhaseEvent phaseEvent)
Handles a notification that the processing for a particular phase has just
been completed.
|
void |
beforePhase(PhaseEvent phaseEvent)
Handles a notification that the processing for a particular phase of the
request processing lifecycle is about to begin.
|
protected void |
execute(FacesContext facesContext) |
PhaseId |
getPhaseId()
Returns
PhaseId.ANY_PHASE which indicates all standard phases. |
protected BaseFacesPreferencesBean |
getPreferencesBean(FacesContext facesContext)
Returns the object of
BaseFacesPreferencesBean if there is one,
else returns null. |
protected void |
preRenderView(PreRenderViewEvent e) |
isListenerForSource, processEvent
getPageBean, resolveExpression
protected void preRenderView(PreRenderViewEvent e)
preRenderView
in class com.webmethods.caf.faces.bean.BasePhaseListener
public PhaseId getPhaseId()
PhaseId.ANY_PHASE
which indicates all standard phases.getPhaseId
in interface PhaseListener
PhaseListener.getPhaseId()
protected BaseFacesPreferencesBean getPreferencesBean(FacesContext facesContext)
BaseFacesPreferencesBean
if there is one,
else returns null.facesContext
- the context.BaseFacesPreferencesBean
or null if none present.public void afterPhase(PhaseEvent phaseEvent)
afterPhase
in interface PhaseListener
PhaseListener.afterPhase(javax.faces.event.PhaseEvent)
public void beforePhase(PhaseEvent phaseEvent)
beforePhase
in interface PhaseListener
PhaseListener.beforePhase(javax.faces.event.PhaseEvent)
protected void execute(FacesContext facesContext)