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 author: Juergen Hoeller See Also:SimpleTraceInterceptor See Also:CustomizableTraceInterceptor
Constructor Summary
public
DebugInterceptor() Create a new DebugInterceptor with a static logger.
public
DebugInterceptor(boolean useDynamicLogger) Create a new DebugInterceptor with dynamic or static logger,
according to the given flag.
Method Summary
public long
getCount() Return the number of times this interceptor has been invoked.
Create a new DebugInterceptor with a static logger.
DebugInterceptor
public DebugInterceptor(boolean useDynamicLogger)(Code)
Create a new DebugInterceptor with dynamic or static logger,
according to the given flag.
Parameters: useDynamicLogger - whether to use a dynamic logger or a static logger See Also:DebugInterceptor.setUseDynamicLogger