org.apache.tuscany.sca.implementation.spring
Class SpringInvoker

java.lang.Object
  extended by org.apache.tuscany.sca.implementation.spring.SpringInvoker
All Implemented Interfaces:
Invoker

public class SpringInvoker
extends java.lang.Object
implements Invoker

Initial implementation of a Spring bean invoker


Constructor Summary
SpringInvoker(RuntimeComponent component, AbstractApplicationContext springContext, RuntimeComponentService service, Operation operation)
          SpringInvoker constructor
 
Method Summary
 Message invoke(Message msg)
          Process a synchronous wire
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringInvoker

public SpringInvoker(RuntimeComponent component,
                     AbstractApplicationContext springContext,
                     RuntimeComponentService service,
                     Operation operation)
SpringInvoker constructor

Parameters:
component - - the Spring component to invoke
service - - the service to invoke
operation - - the operation to invoke
Method Detail

invoke

public Message invoke(Message msg)
Description copied from interface: Invoker
Process a synchronous wire

Specified by:
invoke in interface Invoker
Parameters:
msg - the message to invoke on the target bean
Returns:
The response Message from the wire