2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.implementation.bpel.ode.provider
Class BPELInvoker
java.lang.Object
org.apache.tuscany.sca.implementation.bpel.ode.provider.BPELInvoker
- All Implemented Interfaces:
- Invoker
public class BPELInvoker
- extends java.lang.Object
- implements Invoker
Implements a target invoker for BPEL component implementations.
The target invoker is responsible for dispatching invocations to the particular
component implementation logic. In this example we are simply delegating the
CRUD operation invocations to the corresponding methods on our fake
resource manager.
Field Summary |
protected Log |
__log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
__log
protected final Log __log
BPELInvoker
public BPELInvoker(RuntimeComponent component,
RuntimeComponentService service,
Operation operation,
EmbeddedODEServer odeServer,
TransactionManager txMgr)
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
doTheWork
public java.lang.Object doTheWork(java.lang.Object[] args)
throws java.lang.reflect.InvocationTargetException
- Throws:
java.lang.reflect.InvocationTargetException