AbstractTraceInterceptor()
Base MethodInterceptor implementation for tracing.
By default, log messages are written to the log for the interceptor class, not the class which is being intercepted. Setting the useDynamicLogger bean property to true causes all log messages to be written to the Log for the target class being intercepted.
Subclasses must implement the invokeUnderTrace method, which is invoked by this class ONLY when a particular invocation SHOULD be traced. Subclasses should write to the Log instance provided.
Author
Rob Harrop
Author
Juergen Hoeller
Since
1.2
See Also
#setUseDynamicLogger#invokeUnderTrace(org.aopalliance.intercept.MethodInvocation, org.apache.commons.logging.Log)