Class RequestLoggingPhaseListener

java.lang.Object
org.springframework.faces.support.RequestLoggingPhaseListener
All Implemented Interfaces:
jakarta.faces.event.PhaseListener, Serializable, EventListener

public class RequestLoggingPhaseListener extends Object implements jakarta.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:
  • Constructor Details

    • RequestLoggingPhaseListener

      public RequestLoggingPhaseListener()
  • Method Details

    • afterPhase

      public void afterPhase(jakarta.faces.event.PhaseEvent event)
      Specified by:
      afterPhase in interface jakarta.faces.event.PhaseListener
    • beforePhase

      public void beforePhase(jakarta.faces.event.PhaseEvent event)
      Specified by:
      beforePhase in interface jakarta.faces.event.PhaseListener
    • getPhaseId

      public jakarta.faces.event.PhaseId getPhaseId()
      Specified by:
      getPhaseId in interface jakarta.faces.event.PhaseListener