spring-framework / org.springframework.remoting.support / RemoteInvocationExecutor

RemoteInvocationExecutor

interface RemoteInvocationExecutor

Strategy interface for executing a RemoteInvocation on a target object.

Used by org.springframework.remoting.rmi.RmiServiceExporter (for RMI invokers) and by org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.

Author
Juergen Hoeller

Since
1.1

See Also
DefaultRemoteInvocationFactoryorg.springframework.remoting.rmi.RmiServiceExporter#setRemoteInvocationExecutororg.springframework.remoting.httpinvoker.HttpInvokerServiceExporter#setRemoteInvocationExecutor

Functions

invoke

abstract fun invoke(invocation: RemoteInvocation, targetObject: Any): Any

Perform this invocation on the given target object. Typically called when a RemoteInvocation is received on the server.

Inheritors

DefaultRemoteInvocationExecutor

open class DefaultRemoteInvocationExecutor : RemoteInvocationExecutor

Default implementation of the RemoteInvocationExecutor interface. Simply delegates to RemoteInvocation's invoke method.