org.springframework.faces.support
Class RequestLoggingPhaseListener
java.lang.Object
org.springframework.faces.support.RequestLoggingPhaseListener
- All Implemented Interfaces:
- java.io.Serializable, java.util.EventListener, javax.faces.event.PhaseListener
public class RequestLoggingPhaseListener
- extends java.lang.Object
- implements javax.faces.event.PhaseListener
PhaseListener
that logs the execution of the individual phases of the JSF lifecycle. Useful during JSF
application development in order to detect unreported JSF errors that cause the lifecycle to short-circuit. Turn
logging level to DEBUG to see its output.
- Author:
- Jeremy Grelle
- See Also:
- Serialized Form
Method Summary |
void |
afterPhase(javax.faces.event.PhaseEvent event)
|
void |
beforePhase(javax.faces.event.PhaseEvent event)
|
javax.faces.event.PhaseId |
getPhaseId()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestLoggingPhaseListener
public RequestLoggingPhaseListener()
afterPhase
public void afterPhase(javax.faces.event.PhaseEvent event)
- Specified by:
afterPhase
in interface javax.faces.event.PhaseListener
beforePhase
public void beforePhase(javax.faces.event.PhaseEvent event)
- Specified by:
beforePhase
in interface javax.faces.event.PhaseListener
getPhaseId
public javax.faces.event.PhaseId getPhaseId()
- Specified by:
getPhaseId
in interface javax.faces.event.PhaseListener