net.sf.tie.ext.rule
Class AndRule
java.lang.Object
net.sf.tie.ext.rule.AndRule
- All Implemented Interfaces:
- InterceptionRule
public class AndRule
- extends Object
- implements InterceptionRule
An InterceptionRule
that forms a logical "and" of two other rules.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndRule
public AndRule(InterceptionRule left,
InterceptionRule right)
shouldIntercept
public <T> ObjectInterceptionStrategy shouldIntercept(Class<T> type,
T target,
MethodInterceptor interceptor)
- Specified by:
shouldIntercept
in interface InterceptionRule
shouldIntercept
public <T> MethodInterceptionStrategy shouldIntercept(WrappedMethodInvocation method,
MethodInterceptor interceptor)
- Specified by:
shouldIntercept
in interface InterceptionRule