public class DefaultRemoteInvocationExecutor extends Object implements RemoteInvocationExecutor
RemoteInvocationExecutor
interface.
Simply delegates to RemoteInvocation
's invoke method.RemoteInvocation.invoke(java.lang.Object)
Constructor and Description |
---|
DefaultRemoteInvocationExecutor() |
Modifier and Type | Method and Description |
---|---|
Object |
invoke(RemoteInvocation invocation,
Object targetObject)
Perform this invocation on the given target object.
|
public Object invoke(RemoteInvocation invocation, Object targetObject) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException
RemoteInvocationExecutor
invoke
in interface RemoteInvocationExecutor
invocation
- the RemoteInvocationtargetObject
- the target object to apply the invocation toNoSuchMethodException
- if the method name could not be resolvedIllegalAccessException
- if the method could not be accessedInvocationTargetException
- if the method invocation resulted in an exceptionMethod.invoke(java.lang.Object, java.lang.Object...)