|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InvocationChain
A wire consists of 1..n invocation chains associated with the operations of its source service contract.
Invocation chains may contain Interceptors that process invocations. AMessage
is used to pass data associated with an invocation through the chain.
Method Summary | |
---|---|
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 |
void |
addInvoker(Invoker invoker)
Adds an invoker to the chain |
Invoker |
getHeadInvoker()
Returns the first invoker in the chain. |
Operation |
getSourceOperation()
Returns the source operation for this invocation chain. |
Invoker |
getTailInvoker()
Returns the last invoker in the chain. |
Operation |
getTargetOperation()
Returns the target operation for this invocation chain. |
Method Detail |
---|
Operation getTargetOperation()
Operation getSourceOperation()
void addInterceptor(Interceptor interceptor)
interceptor
- The interceptor to addvoid addInvoker(Invoker invoker)
invoker
- The invoker to addInvoker getHeadInvoker()
Invoker getTailInvoker()
void addInterceptor(int index, Interceptor interceptor)
index
- The position in the interceptor stack to add the interceptorinterceptor
- The interceptor to add
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |