public interface RemoteInvocationExecutor
RemoteInvocation
on a target object.
Used by RmiServiceExporter
(for RMI invokers)
and by HttpInvokerServiceExporter
.
DefaultRemoteInvocationFactory
,
RemoteInvocationBasedExporter.setRemoteInvocationExecutor(org.springframework.remoting.support.RemoteInvocationExecutor)
,
RemoteInvocationBasedExporter.setRemoteInvocationExecutor(org.springframework.remoting.support.RemoteInvocationExecutor)
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke(RemoteInvocation invocation,
java.lang.Object targetObject)
Perform this invocation on the given target object.
|
java.lang.Object invoke(RemoteInvocation invocation, java.lang.Object targetObject) throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
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...)