org.apache.tuscany.sca.binding.dwr
Class DWRInvoker

java.lang.Object
  extended by org.apache.tuscany.sca.binding.dwr.DWRInvoker
All Implemented Interfaces:
Invoker

public class DWRInvoker
extends java.lang.Object
implements Invoker

The invoker for a DWR Binding.


Constructor Summary
DWRInvoker(java.lang.String referenceName, Operation operation)
           
 
Method Summary
protected  ScriptBuffer getInvokeFragment(java.lang.Object[] args, WebContext wctx)
          Creates a fragment of JavaScript code to invoke the reference function Eg: ".(arg1, arg2,...);"
 Message invoke(Message requestMsg)
          Process a synchronous wire
 void invoke(java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DWRInvoker

public DWRInvoker(java.lang.String referenceName,
                  Operation operation)
Method Detail

invoke

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

Specified by:
invoke in interface Invoker
Parameters:
requestMsg - The request Message for the wire
Returns:
The response Message from the wire

invoke

public void invoke(java.lang.Object[] args)

getInvokeFragment

protected ScriptBuffer getInvokeFragment(java.lang.Object[] args,
                                         WebContext wctx)
Creates a fragment of JavaScript code to invoke the reference function Eg: ".(arg1, arg2,...);"