|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.davesag.jsf.PhaseTracker
register this phase tracker with your faces.config and then you'll be able to
log the various phase events as they fire.
If you specify an initParam with the name com.davesag.jsf.PhaseTracker.PHASE
then the PhaseTracker will only track the phase you specify.
| Constructor Summary | |
PhaseTracker()
|
|
| Method Summary | |
void |
afterPhase(javax.faces.event.PhaseEvent e)
logs that we are after the given phase. |
void |
beforePhase(javax.faces.event.PhaseEvent e)
logs that we are before the given phase. |
javax.faces.event.PhaseId |
getPhaseId()
get the id of the current phase. |
void |
setPhase(String phase)
set the phase value |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PhaseTracker()
| Method Detail |
public void setPhase(String phase)
phase - The new phase valuepublic javax.faces.event.PhaseId getPhaseId()
getPhaseId in interface javax.faces.event.PhaseListenerRuntimeException - if the phase specified is not a known phase.public void beforePhase(javax.faces.event.PhaseEvent e)
beforePhase in interface javax.faces.event.PhaseListenere - The PhaseEventpublic void afterPhase(javax.faces.event.PhaseEvent e)
afterPhase in interface javax.faces.event.PhaseListenere - The PhaseEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||