public interface InterceptionChain
The chain tracks the position of the last-invoked interceptor method internally.
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNextInterceptor()
Indicates whether there are not-yet-invoked interceptor methods in the chain.
|
Object |
invokeNextInterceptor(InvocationContext invocationContext)
Invokes the next interceptor method in the chain.
|
Object invokeNextInterceptor(InvocationContext invocationContext) throws Exception
InvocationContext.proceed() is invoked by the
interceptor.invocationContext - the invocation context to be passed to the interceptor methodExceptionboolean hasNextInterceptor()
Copyright © 2014. All Rights Reserved.