Tuscany Core

org.apache.tuscany.core.wire
Class SourceInvocationConfiguration

java.lang.Object
  extended by org.apache.tuscany.core.wire.InvocationConfiguration
      extended by org.apache.tuscany.core.wire.SourceInvocationConfiguration

public class SourceInvocationConfiguration
extends InvocationConfiguration

Contains a source-side invocation pipeline for a service operation.

Version:
$Rev: 394379 $ $Date: 2006-04-15 15:01:36 -0700 (Sat, 15 Apr 2006) $

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

SourceInvocationConfiguration

public SourceInvocationConfiguration(java.lang.reflect.Method operation)
Creates an new wire configuration for the given service reference operation

Parameters:
operation - the method on the interface representing specified by the reference, where the method corresponds to the service operation
Method Detail

setTargetInterceptor

public void setTargetInterceptor(Interceptor interceptor)
Sets the head interceptor of the target-side configuration for the wire. Used when the runtime bridges source and target chains.

Parameters:
interceptor -

getTargetInterceptor

public Interceptor getTargetInterceptor()
Returns the head target-side interceptor. This will be the head interceptor of the "bridged" target configuration.


setTargetRequestChannel

public void setTargetRequestChannel(MessageChannel channel)
Sets the target-side request channel. Used when the runtime bridges source and target chains.


setTargetResponseChannel

public void setTargetResponseChannel(MessageChannel channel)
Sets the target-side response channel. Used when the runtime bridges source and target chains.


build

public void build()
Prepares the configuration by linking interceptors and handlers

Specified by:
build in class InvocationConfiguration

Tuscany Core

-