|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.spi.extension.TargetInvokerExtension
public abstract class TargetInvokerExtension
The default implementation of a TargetInvoker
Constructor Summary | |
---|---|
TargetInvokerExtension()
|
Method Summary | |
---|---|
Object |
clone()
Implementations must support deep cloning |
Message |
invoke(Message msg)
Invokes an operation on a target with the given message |
boolean |
isCacheable()
Determines whether the proxy can be cached on the client/source side |
boolean |
isOptimizable()
Determines if the target invoker can be discarded during wire optimization |
void |
setCacheable(boolean cacheable)
Sets whether the target service instance may be cached by the invoker. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.tuscany.spi.wire.TargetInvoker |
---|
invokeTarget |
Constructor Detail |
---|
public TargetInvokerExtension()
Method Detail |
---|
public Message invoke(Message msg) throws InvocationRuntimeException
TargetInvoker
invoke
in interface TargetInvoker
InvocationRuntimeException
public boolean isCacheable()
TargetInvoker
isCacheable
in interface TargetInvoker
public void setCacheable(boolean cacheable)
TargetInvoker
setCacheable
in interface TargetInvoker
public boolean isOptimizable()
TargetInvoker
isOptimizable
in interface TargetInvoker
public Object clone()
TargetInvoker
clone
in interface TargetInvoker
clone
in class Object
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |