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 |
---|---|
Object |
invoke(RemoteInvocation invocation,
Object targetObject)
Perform this invocation on the given target object.
|
Object invoke(RemoteInvocation invocation, Object targetObject) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException
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...)