org.apache.beehive.netui.pageflow
Class DefaultPageFlowEventReporter

Object
  extended by PageFlowEventReporter
      extended by DefaultPageFlowEventReporter

public class DefaultPageFlowEventReporter
extends PageFlowEventReporter

Default event reporter. Logs every event when the log level is set to "debug" or "trace".


Nested Class Summary
protected static class DefaultPageFlowEventReporter.LogMsg
           
 
Constructor Summary
protected DefaultPageFlowEventReporter(ServletContext servletContext)
           
 
Method Summary
 void actionRaised(FlowController flowController, ActionMapping mapping, ActionForm form, ServletRequest request, ServletResponse response)
           
 void actionSuccess(FlowController flowController, ActionMapping mapping, ActionForm form, ServletRequest request, ServletResponse response, ActionForward result, long timeTakenMillis)
           
 void beginActionRequest(ServletRequest request, ServletResponse response)
           
 void beginPageRequest(ServletRequest request, ServletResponse response)
           
 void endActionRequest(ServletRequest request, ServletResponse response, long timeTakenMillis)
           
 void endPageRequest(ServletRequest request, ServletResponse response, long timeTakenMillis)
           
 void exceptionHandled(Throwable ex, ActionMapping actionMapping, ActionForm form, FlowController flowController, ServletRequest request, ServletResponse response, ActionForward result, long timeTakenMillis)
           
 void exceptionRaised(Throwable ex, ActionMapping actionMapping, ActionForm form, FlowController flowController, ServletRequest request, ServletResponse response)
           
 void flowControllerCreated(FlowController flowController, ServletRequest request, ServletResponse response)
           
 void flowControllerDestroyed(FlowController flowController)
           
 
Methods inherited from class PageFlowEventReporter
getServletContext
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPageFlowEventReporter

protected DefaultPageFlowEventReporter(ServletContext servletContext)
Method Detail

actionRaised

public void actionRaised(FlowController flowController,
                         ActionMapping mapping,
                         ActionForm form,
                         ServletRequest request,
                         ServletResponse response)
Specified by:
actionRaised in class PageFlowEventReporter

actionSuccess

public void actionSuccess(FlowController flowController,
                          ActionMapping mapping,
                          ActionForm form,
                          ServletRequest request,
                          ServletResponse response,
                          ActionForward result,
                          long timeTakenMillis)
Specified by:
actionSuccess in class PageFlowEventReporter

exceptionRaised

public void exceptionRaised(Throwable ex,
                            ActionMapping actionMapping,
                            ActionForm form,
                            FlowController flowController,
                            ServletRequest request,
                            ServletResponse response)
Specified by:
exceptionRaised in class PageFlowEventReporter

exceptionHandled

public void exceptionHandled(Throwable ex,
                             ActionMapping actionMapping,
                             ActionForm form,
                             FlowController flowController,
                             ServletRequest request,
                             ServletResponse response,
                             ActionForward result,
                             long timeTakenMillis)
Specified by:
exceptionHandled in class PageFlowEventReporter

flowControllerCreated

public void flowControllerCreated(FlowController flowController,
                                  ServletRequest request,
                                  ServletResponse response)
Specified by:
flowControllerCreated in class PageFlowEventReporter

flowControllerDestroyed

public void flowControllerDestroyed(FlowController flowController)
Specified by:
flowControllerDestroyed in class PageFlowEventReporter

beginActionRequest

public void beginActionRequest(ServletRequest request,
                               ServletResponse response)
Specified by:
beginActionRequest in class PageFlowEventReporter

endActionRequest

public void endActionRequest(ServletRequest request,
                             ServletResponse response,
                             long timeTakenMillis)
Specified by:
endActionRequest in class PageFlowEventReporter

beginPageRequest

public void beginPageRequest(ServletRequest request,
                             ServletResponse response)
Specified by:
beginPageRequest in class PageFlowEventReporter

endPageRequest

public void endPageRequest(ServletRequest request,
                           ServletResponse response,
                           long timeTakenMillis)
Specified by:
endPageRequest in class PageFlowEventReporter