类 DebugInterceptor

所有已实现的接口:
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.

从以下版本开始:
3.0
作者:
Rod Johnson, Juergen Hoeller, TODAY
另请参阅:
  • 字段详细资料

    • count

      private volatile long count
  • 构造器详细资料

    • DebugInterceptor

      public DebugInterceptor()
      Create a new DebugInterceptor with a static logger.
    • DebugInterceptor

      public DebugInterceptor(boolean useDynamicLogger)
      Create a new DebugInterceptor with dynamic or static logger, according to the given flag.
      参数:
      useDynamicLogger - whether to use a dynamic logger or a static logger
      另请参阅:
  • 方法详细资料