org.apache.commons.proxy.interceptor
Class LoggingInterceptor
java.lang.Object
org.apache.commons.proxy.interceptor.LoggingInterceptor
- All Implemented Interfaces:
- Interceptor
public class LoggingInterceptor
- extends Object
- implements Interceptor
An interceptor which logs each method invocation.
Note: The implementation of this class was borrowed from
HiveMind's logging interceptor.
Dependencies:
- Apache Commons Logging version 1.0.4 or greater
- Since:
- 1.0
- Author:
- James Carman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingInterceptor
public LoggingInterceptor(org.apache.commons.logging.Log log)
intercept
public Object intercept(Invocation invocation)
throws Throwable
- Specified by:
intercept
in interface Interceptor
- Throws:
Throwable
Copyright © 2005-2008 The Apache Software Foundation. All Rights Reserved.