net.sf.tie.ext.rule
Class CachingRule

java.lang.Object
  extended by net.sf.tie.ext.rule.CachingRule
All Implemented Interfaces:
InterceptionRule

public class CachingRule
extends Object
implements InterceptionRule


Constructor Summary
CachingRule(InterceptionRule rule)
           
 
Method Summary
<T> ObjectInterceptionStrategy
shouldIntercept(Class<T> type, T endPoint, MethodInterceptor interceptor)
           
<T> MethodInterceptionStrategy
shouldIntercept(WrappedMethodInvocation method, MethodInterceptor interceptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachingRule

public CachingRule(InterceptionRule rule)
Method Detail

shouldIntercept

public <T> ObjectInterceptionStrategy shouldIntercept(Class<T> type,
                                                      T endPoint,
                                                      MethodInterceptor interceptor)
Specified by:
shouldIntercept in interface InterceptionRule

shouldIntercept

public <T> MethodInterceptionStrategy shouldIntercept(WrappedMethodInvocation method,
                                                      MethodInterceptor interceptor)
Specified by:
shouldIntercept in interface InterceptionRule