Class SimpleTraceInterceptor

java.lang.Object
org.springframework.aop.interceptor.AbstractTraceInterceptor
org.springframework.aop.interceptor.SimpleTraceInterceptor
All Implemented Interfaces:
Serializable, Advice, Interceptor, MethodInterceptor
Direct Known Subclasses:
DebugInterceptor

public class SimpleTraceInterceptor extends AbstractTraceInterceptor
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.

Consider using CustomizableTraceInterceptor for more advanced needs.

Since:
1.2
Author:
Dmitriy Kopylenko, Juergen Hoeller
See Also:
  • Constructor Details

    • SimpleTraceInterceptor

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

      public SimpleTraceInterceptor(boolean useDynamicLogger)
      Create a new SimpleTraceInterceptor with dynamic or static logger, according to the given flag.
      Parameters:
      useDynamicLogger - whether to use a dynamic logger or a static logger
      See Also:
  • Method Details