org.apache.tuscany.sca.implementation.xquery
Class XQueryInvoker

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

public class XQueryInvoker
extends java.lang.Object
implements Invoker

Performs the invocation of a requested XQuery function


Constructor Summary
XQueryInvoker(RuntimeComponentService service, Operation operation, XQueryImplementation implementation, java.util.Map<java.lang.String,java.lang.Object> referenceProxies, java.util.Map<java.lang.String,java.lang.Object> properties)
          Constructs a new instance of the xquery invoker.
 
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

XQueryInvoker

public XQueryInvoker(RuntimeComponentService service,
                     Operation operation,
                     XQueryImplementation implementation,
                     java.util.Map<java.lang.String,java.lang.Object> referenceProxies,
                     java.util.Map<java.lang.String,java.lang.Object> properties)
Constructs a new instance of the xquery invoker. Also performs a search of java.lang.Method instance that corresponds to the invoked operation

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 request Message for the wire
Returns:
The response Message from the wire