org.springframework.aop.interceptor
Class TraceInterceptor
java.lang.Object
org.springframework.aop.interceptor.TraceInterceptor
- All Implemented Interfaces:
- Advice, Interceptor, MethodInterceptor, Serializable
- public class TraceInterceptor
- extends Object
- implements MethodInterceptor, Serializable
Simple AOP Alliance MethodInterceptor that can be introduced in a chain
to display verbose trace information about intercepted method invocations
with method entry and method exit info using Commons Logging at DEBUG level.
- Since:
- 1.0.2
- Author:
- Dmitriy Kopylenko, Juergen Hoeller
- See Also:
- Serialized Form
Field Summary |
protected static Log |
logger
Static to avoid serializing the logger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final Log logger
- Static to avoid serializing the logger
TraceInterceptor
public TraceInterceptor()
invoke
public Object invoke(MethodInvocation invocation)
throws Throwable
- Specified by:
invoke
in interface MethodInterceptor
- Throws:
Throwable
Copyright (C) 2003-2004 The Spring Framework Project.