org.apache.shindig.protocol
Class HandlerExecutionListener.LoggingHandler
java.lang.Object
org.apache.shindig.protocol.HandlerExecutionListener.LoggingHandler
- All Implemented Interfaces:
- HandlerExecutionListener
- Enclosing interface:
- HandlerExecutionListener
public static class HandlerExecutionListener.LoggingHandler
- extends Object
- implements HandlerExecutionListener
A simple implementation that logs the start/stop times of requests
You can configure this for use by adding a binding in your Guice Module like this:
bind(HandlerExecutionListener.class).to(HandlerExecutionListener.LoggingHandler.class);
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final Logger LOG
HandlerExecutionListener.LoggingHandler
public HandlerExecutionListener.LoggingHandler()
executing
public void executing(String service,
String operation,
RequestItem request)
- Description copied from interface:
HandlerExecutionListener
- Called prior to executing a REST or RPC handler
- Specified by:
executing in interface HandlerExecutionListener
- Parameters:
service - Name of the service being calledoperation - Name of operation being calledrequest - being executed
executed
public void executed(String service,
String operation,
RequestItem request)
- Specified by:
executed in interface HandlerExecutionListener
Copyright © 2007-2012. All Rights Reserved.