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