net.sourceforge.hiveutils.service.impl
Class LoggingInterceptorFactory
java.lang.Object
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 Error
s.
- Author:
- Jean-Francois Poilpret
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 |
LoggingInterceptorFactory
public LoggingInterceptorFactory()
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