public abstract class AbstractInterceptionChain extends Object implements InterceptionChain
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractInterceptionChain(InterceptorInvocation interceptorInvocation) |
protected |
AbstractInterceptionChain(List<InterceptorClassMetadata<?>> interceptorMetadata,
InterceptionContext ctx,
InterceptionType interceptionType) |
protected |
AbstractInterceptionChain(Object instance,
Method method,
Object[] args,
InterceptionType interceptionType,
InterceptionContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNextInterceptor()
Indicates whether there are not-yet-invoked interceptor methods in the chain.
|
protected abstract Object |
interceptorChainCompleted(InvocationContext invocationContext) |
protected Object |
invokeNext(InvocationContext invocationContext) |
Object |
invokeNextInterceptor(InvocationContext invocationContext)
Invokes the next interceptor method in the chain.
|
protected AbstractInterceptionChain(Object instance, Method method, Object[] args, InterceptionType interceptionType, InterceptionContext ctx)
protected AbstractInterceptionChain(List<InterceptorClassMetadata<?>> interceptorMetadata, InterceptionContext ctx, InterceptionType interceptionType)
protected AbstractInterceptionChain(InterceptorInvocation interceptorInvocation)
public Object invokeNextInterceptor(InvocationContext invocationContext) throws Exception
InterceptionChainInvocationContext.proceed() is invoked by the
interceptor.invokeNextInterceptor in interface InterceptionChaininvocationContext - the invocation context to be passed to the interceptor methodExceptionprotected Object invokeNext(InvocationContext invocationContext) throws Exception
Exceptionprotected abstract Object interceptorChainCompleted(InvocationContext invocationContext) throws Exception
Exceptionpublic boolean hasNextInterceptor()
InterceptionChainhasNextInterceptor in interface InterceptionChainCopyright © 2014. All Rights Reserved.