com.interface21.aop.interceptor
Class DebugInterceptor

java.lang.Object
  |
  +--com.interface21.aop.interceptor.DebugInterceptor
All Implemented Interfaces:
org.aopalliance.Interceptor, org.aopalliance.MethodInterceptor

public class DebugInterceptor
extends java.lang.Object
implements org.aopalliance.MethodInterceptor

Trivial interceptor that can be introduced in a chain to display it. (c) Rod Johnson, 2003

Author:
Rod Johnson

Constructor Summary
DebugInterceptor()
           
 
Method Summary
 int getCount()
           
 java.lang.Object invoke(org.aopalliance.MethodInvocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugInterceptor

public DebugInterceptor()
Method Detail

invoke

public java.lang.Object invoke(org.aopalliance.MethodInvocation invocation)
                        throws java.lang.Throwable
Specified by:
invoke in interface org.aopalliance.MethodInterceptor
See Also:
Interceptor#invoke(Invocation)

getCount

public int getCount()


Rod Johnson and Spring contributors 2001-2003.