2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.binding.dwr
Class DWRInvoker
java.lang.Object
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.
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 |
DWRInvoker
public DWRInvoker(java.lang.String referenceName,
Operation operation)
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,...);"