2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.implementation.java.invocation
Class JavaImplementationInvoker
java.lang.Object
org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker
- All Implemented Interfaces:
- DataExchangeSemantics, Invoker
public class JavaImplementationInvoker
- extends java.lang.Object
- implements Invoker, DataExchangeSemantics
Responsible for synchronously dispatching an invocation to a Java component
implementation instance
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
operation
protected Operation operation
method
protected java.lang.reflect.Method method
allowsPBR
protected boolean allowsPBR
scopeContainer
protected final ScopeContainer scopeContainer
JavaImplementationInvoker
public JavaImplementationInvoker(Operation operation,
java.lang.reflect.Method method,
RuntimeComponent component)
JavaImplementationInvoker
public JavaImplementationInvoker(Operation operation,
RuntimeComponent component)
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
allowsPassByReference
public boolean allowsPassByReference()
- Description copied from interface:
DataExchangeSemantics
- Indicate if the data can be passed in by reference as they won't be mutated.
- Specified by:
allowsPassByReference
in interface DataExchangeSemantics
- Returns:
- true if pass-by-reference is allowed