org.springframework.aop.interceptor
Class DebugInterceptor
- public class DebugInterceptor
- implements MethodInterceptor
AOP Alliance MethodInterceptor that can be introduced in a chain to display
verbose information about intercepted invocations to the console.
- Author:
- Rod Johnson
- Version: $Id: DebugInterceptor.java,v 1.2 2003/12/31 14:38:53 johnsonr Exp $
| Method Summary |
int | getCount() Return the number of times this interceptor has been invoked |
Object | invoke(MethodInvocation invocation) |
getCount
public int getCount()
- Return the number of times this interceptor has been invoked
- Returns: the number of times this interceptor has been invoked
invoke
public Object invoke(MethodInvocation invocation)
throws java.lang.Throwable
- See Also:
- org.aopalliance.intercept.MethodInterceptor#invoke(MethodInvocation)