org.springframework.remoting.support

## 接口 RemoteInvocationExecutor

- 所有已知实现类:
    DefaultRemoteInvocationExecutor

      public interface RemoteInvocationExecutor

  Strategy interface for executing a `RemoteInvocation` on a target object.

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

  从以下版本开始:
    1.1
  作者:
    Juergen Hoeller
  另请参阅:
    `DefaultRemoteInvocationFactory`, `RemoteInvocationBasedExporter.setRemoteInvocationExecutor(org.springframework.remoting.support.RemoteInvocationExecutor)`, `org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter#setRemoteInvocationExecutor`

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `Object` | `invoke(RemoteInvocation invocation, Object targetObject)` Perform this invocation on the given target object.

- - ### 方法详细资料

    - #### invoke

          Object invoke(RemoteInvocation invocation,
                        Object targetObject)
                 throws NoSuchMethodException,
                        IllegalAccessException,
                        InvocationTargetException

      Perform this invocation on the given target object. Typically called when a RemoteInvocation is received on the server.
      参数:
        `invocation` - the RemoteInvocation
        `targetObject` - the target object to apply the invocation to
      返回:
        the invocation result
      抛出:
        `NoSuchMethodException` - if the method name could not be resolved
        `IllegalAccessException` - if the method could not be accessed
        `InvocationTargetException` - if the method invocation resulted in an exception
      另请参阅:
        `Method.invoke(java.lang.Object, java.lang.Object...)`