net.sf.tie.ext.rule
Interface InterceptionRule

All Known Implementing Classes:
AndRule, AnnotationNotPresentRule, AnnotationPresentRule, CachingRule, InstanceOfRule, MethodNameRule, MethodPatternRule, NotInstanceOfRule, NotRule, OrRule, ReturnTypeRule

public interface InterceptionRule

An InterceptionRule works in conjunction with a DynamicInterceptorFactory and/or a ConditionalInterceptor to provide conditionl interception of objects.


Method Summary
<T> ObjectInterceptionStrategy
shouldIntercept(Class<T> type, T endPoint, MethodInterceptor interceptor)
           
<T> MethodInterceptionStrategy
shouldIntercept(WrappedMethodInvocation method, MethodInterceptor interceptor)
           
 

Method Detail

shouldIntercept

<T> ObjectInterceptionStrategy shouldIntercept(Class<T> type,
                                               T endPoint,
                                               MethodInterceptor interceptor)

shouldIntercept

<T> MethodInterceptionStrategy shouldIntercept(WrappedMethodInvocation method,
                                               MethodInterceptor interceptor)