net.sf.tie.ext.factory
Class MultiInterceptor
java.lang.Object
net.sf.tie.ext.factory.MultiInterceptor
- All Implemented Interfaces:
- Advice, Interceptor, MethodInterceptor
public class MultiInterceptor
- extends Object
- implements MethodInterceptor
A MultiInterceptor
wraps a collections of interceptors
, behind
a single invoke
call.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiInterceptor
public MultiInterceptor(Iterable<MethodInterceptor> interceptors)
invoke
public Object invoke(MethodInvocation invocation)
throws Throwable
- Adapts
invocation
to inject the provided interceptors
into the chain.
- Specified by:
invoke
in interface MethodInterceptor
- Throws:
Throwable