|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TargetInvoker
Implementations are responsible for resolving a target and performing the actual invocation on it, for example, a component implementation instance or a service client.
Method Summary | |
---|---|
Object |
clone()
Implementations must support deep cloning |
Message |
invoke(Message msg)
Invokes an operation on a target with the given message |
Object |
invokeTarget(Object payload)
Invokes an operation on a target with the given payload. |
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. |
Method Detail |
---|
Object invokeTarget(Object payload) throws InvocationTargetException
InvocationTargetException
Message invoke(Message msg) throws InvocationRuntimeException
InvocationRuntimeException
boolean isCacheable()
void setCacheable(boolean cacheable)
boolean isOptimizable()
Object clone() throws CloneNotSupportedException
CloneNotSupportedException
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |