public interface InvocationChain
Interceptors that process invocations in an around-style manner.| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptor(Interceptor interceptor)
Adds an interceptor to the chain
|
void |
addInterceptor(int index,
Interceptor interceptor)
Adds an interceptor at the given position in the interceptor stack
|
Interceptor |
getHeadInterceptor()
Returns the first interceptor in the chain.
|
PhysicalOperation |
getPhysicalOperation()
Returns the target physical operation for this invocation chain.
|
Interceptor |
getTailInterceptor()
Returns the last interceptor in the chain.
|
PhysicalOperation getPhysicalOperation()
void addInterceptor(Interceptor interceptor)
interceptor - the interceptor to addvoid addInterceptor(int index,
Interceptor interceptor)
index - the position in the interceptor stack to add the interceptorinterceptor - the interceptor to addInterceptor getHeadInterceptor()
Interceptor getTailInterceptor()