org.springframework.aop.interceptor

Class DebugInterceptor

  • All Implemented Interfaces:
    java.io.Serializable, Advice, Interceptor, MethodInterceptor


    public class DebugInterceptor
    extends SimpleTraceInterceptor
    AOP Alliance MethodInterceptor that can be introduced in a chain to display verbose information about intercepted invocations to the logger.

    Logs full invocation details on method entry and method exit, including invocation arguments and invocation count. This is only intended for debugging purposes; use SimpleTraceInterceptor or CustomizableTraceInterceptor for pure tracing purposes.

    Author:
    Rod Johnson, Juergen Hoeller
    See Also:
    SimpleTraceInterceptor, CustomizableTraceInterceptor, Serialized Form