|
Tuscany Core | |||||||||
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 service component implementation instance or an external service client.
Method Summary | |
---|---|
java.lang.Object |
clone()
Implementations must support deep cloning |
java.lang.Object |
invokeTarget(java.lang.Object payload)
Responsible for invoking an operation on a target with the given payload |
boolean |
isCacheable()
Determines whether the proxy can be cached on the client/source side |
Methods inherited from interface org.apache.tuscany.core.wire.Interceptor |
---|
invoke, setNext |
Method Detail |
---|
java.lang.Object invokeTarget(java.lang.Object payload) throws java.lang.reflect.InvocationTargetException
payload
- the parameters of the target operation or null
java.lang.reflect.InvocationTargetException
- if the target operation itself throws an exception. The root cause will be set
to that exceptionboolean isCacheable()
java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |