## 类的使用
org.springframework.remoting.support.RemoteInvocation

- 使用RemoteInvocation的程序包
  程序包 | 说明
  --- | ---
  org.springframework.remoting.rmi | Remoting classes for conventional RMI and transparent remoting via RMI invokers.
  org.springframework.remoting.support | Generic support classes for remoting implementations.

- - ### org.springframework.remoting.rmi中RemoteInvocation的使用

    返回RemoteInvocation的org.springframework.remoting.rmi中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected RemoteInvocation` | JndiRmiClientInterceptor.`createRemoteInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation)` Create a new RemoteInvocation object for the given AOP method invocation.
    `protected RemoteInvocation` | RemoteInvocationSerializingExporter.`doReadRemoteInvocation(ObjectInputStream ois)` Perform the actual reading of an invocation result object from the given ObjectInputStream.

    参数类型为RemoteInvocation的org.springframework.remoting.rmi中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Object` | RmiInvocationHandler.`invoke(RemoteInvocation invocation)` Apply the given invocation to the target object.
    `protected Object` | RmiBasedExporter.`invoke(RemoteInvocation invocation, Object targetObject)` Redefined here to be visible to RmiInvocationWrapper.

  - ### org.springframework.remoting.support中RemoteInvocation的使用

    返回RemoteInvocation的org.springframework.remoting.support中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `RemoteInvocation` | DefaultRemoteInvocationFactory.`createRemoteInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation)`
    `protected RemoteInvocation` | RemoteInvocationBasedAccessor.`createRemoteInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation)` Create a new RemoteInvocation object for the given AOP method invocation.
    `RemoteInvocation` | RemoteInvocationFactory.`createRemoteInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation)` Create a serializable RemoteInvocation object from the given AOP MethodInvocation.

    参数类型为RemoteInvocation的org.springframework.remoting.support中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Object` | DefaultRemoteInvocationExecutor.`invoke(RemoteInvocation invocation, Object targetObject)`
    `protected Object` | RemoteInvocationBasedExporter.`invoke(RemoteInvocation invocation, Object targetObject)` Apply the given remote invocation to the given target object.
    `Object` | RemoteInvocationExecutor.`invoke(RemoteInvocation invocation, Object targetObject)` Perform this invocation on the given target object.
    `protected RemoteInvocationResult` | RemoteInvocationBasedExporter.`invokeAndCreateResult(RemoteInvocation invocation, Object targetObject)` Apply the given remote invocation to the given target object, wrapping the invocation result in a serializable RemoteInvocationResult object.