org.springframework.remoting.support

## 接口 RemoteInvocationFactory

- 所有已知实现类:
    DefaultRemoteInvocationFactory

      public interface RemoteInvocationFactory

  Strategy interface for creating a `RemoteInvocation` from an AOP Alliance `MethodInvocation`.

  Used by `RmiClientInterceptor` (for RMI invokers) and by `org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor`.

  从以下版本开始:
    1.1
  作者:
    Juergen Hoeller
  另请参阅:
    `DefaultRemoteInvocationFactory`, `RemoteInvocationBasedAccessor.setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory)`, `org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor#setRemoteInvocationFactory`

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `RemoteInvocation` | `createRemoteInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation)` Create a serializable RemoteInvocation object from the given AOP MethodInvocation.

- - ### 方法详细资料

    - #### createRemoteInvocation

          RemoteInvocation createRemoteInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation)

      Create a serializable RemoteInvocation object from the given AOP MethodInvocation.

      Can be implemented to add custom context information to the remote invocation, for example user credentials.

      参数:
        `methodInvocation` - the original AOP MethodInvocation object
      返回:
        the RemoteInvocation object