|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.core.wire.InvocationConfiguration org.apache.tuscany.core.wire.SourceInvocationConfiguration
public class SourceInvocationConfiguration
Contains a source-side invocation pipeline for a service operation.
Field Summary |
---|
Fields inherited from class org.apache.tuscany.core.wire.InvocationConfiguration |
---|
interceptorChainHead, interceptorChainTail, operation, requestHandlers, responseHandlers, targetInvoker |
Constructor Summary | |
---|---|
SourceInvocationConfiguration(java.lang.reflect.Method operation)
Creates an new wire configuration for the given service reference operation |
Method Summary | |
---|---|
void |
build()
Prepares the configuration by linking interceptors and handlers |
Interceptor |
getTargetInterceptor()
Returns the head target-side interceptor. |
void |
setTargetInterceptor(Interceptor interceptor)
Sets the head interceptor of the target-side configuration for the wire. |
void |
setTargetRequestChannel(MessageChannel channel)
Sets the target-side request channel. |
void |
setTargetResponseChannel(MessageChannel channel)
Sets the target-side response channel. |
Methods inherited from class org.apache.tuscany.core.wire.InvocationConfiguration |
---|
addInterceptor, addRequestHandler, addResponseHandler, getHeadInterceptor, getMethod, getRequestHandlers, getResponseHandlers, getTailInterceptor, getTargetInvoker, setTargetInvoker |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SourceInvocationConfiguration(java.lang.reflect.Method operation)
operation
- the method on the interface representing specified by the reference, where the method corresponds to the
service operationMethod Detail |
---|
public void setTargetInterceptor(Interceptor interceptor)
interceptor
- public Interceptor getTargetInterceptor()
public void setTargetRequestChannel(MessageChannel channel)
public void setTargetResponseChannel(MessageChannel channel)
public void build()
build
in class InvocationConfiguration
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |