2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.implementation.script
Class ScriptInvoker
java.lang.Object
org.apache.tuscany.sca.implementation.script.ScriptInvoker
- All Implemented Interfaces:
- Invoker
public class ScriptInvoker
- extends java.lang.Object
- implements Invoker
Perform the actual script invocation
Constructor Summary |
ScriptInvoker(javax.script.ScriptEngine scriptEngine,
XMLHelper xmlHelper,
Operation operation)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scriptEngine
protected javax.script.ScriptEngine scriptEngine
xmlHelper
protected XMLHelper xmlHelper
operation
protected Operation operation
ScriptInvoker
public ScriptInvoker(javax.script.ScriptEngine scriptEngine,
XMLHelper xmlHelper,
Operation operation)
doInvoke
protected java.lang.Object doInvoke(java.lang.Object[] objects,
Operation op)
throws javax.script.ScriptException
- Throws:
javax.script.ScriptException
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