net.sf.tie.ext.rule
Class OrRule
java.lang.Object
net.sf.tie.ext.rule.OrRule
- All Implemented Interfaces:
- InterceptionRule
public class OrRule
- extends Object
- implements InterceptionRule
Forms a logical "or" of two other InterceptionRule
implementations
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrRule
public OrRule(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