net.sourceforge.hiveutils.service.impl
Class LoggingInterceptorFactory

java.lang.Object
  extended by net.sourceforge.hiveutils.service.impl.LoggingInterceptorFactory
All Implemented Interfaces:
org.apache.hivemind.ServiceInterceptorFactory

public class LoggingInterceptorFactory
extends java.lang.Object
implements org.apache.hivemind.ServiceInterceptorFactory

This service creates service interceptors that allow to log all calls to a service. Logging level is customizable. Any Throwable thrown by the service will be logged, including Errors.

Author:
Jean-Francois Poilpret

Constructor Summary
LoggingInterceptorFactory()
           
 
Method Summary
 void createInterceptor(org.apache.hivemind.InterceptorStack stack, org.apache.hivemind.internal.Module invokingMod, java.util.List parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingInterceptorFactory

public LoggingInterceptorFactory()
Method Detail

createInterceptor

public void createInterceptor(org.apache.hivemind.InterceptorStack stack,
                              org.apache.hivemind.internal.Module invokingMod,
                              java.util.List parameters)
Specified by:
createInterceptor in interface org.apache.hivemind.ServiceInterceptorFactory