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.
shouldIntercept
<T> ObjectInterceptionStrategy shouldIntercept(Class<T> type,
T endPoint,
MethodInterceptor interceptor)
shouldIntercept
<T> MethodInterceptionStrategy shouldIntercept(WrappedMethodInvocation method,
MethodInterceptor interceptor)