public class DefaultRemoteInvocationExecutor extends java.lang.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 |
---|---|
java.lang.Object |
invoke(RemoteInvocation invocation,
java.lang.Object targetObject)
Perform this invocation on the given target object.
|
public java.lang.Object invoke(RemoteInvocation invocation, java.lang.Object targetObject) throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
RemoteInvocationExecutor
invoke
in interface RemoteInvocationExecutor
invocation
- the RemoteInvocationtargetObject
- the target object to apply the invocation tojava.lang.NoSuchMethodException
- if the method name could not be resolvedjava.lang.IllegalAccessException
- if the method could not be accessedjava.lang.reflect.InvocationTargetException
- if the method invocation resulted in an exceptionMethod.invoke(java.lang.Object, java.lang.Object...)
Copyright © 2021. All rights reserved.