接口 RemoteInvocationFactory
- 所有已知实现类:
DefaultRemoteInvocationFactory
public interface RemoteInvocationFactory
Strategy interface for creating aRemoteInvocationfrom an AOP AllianceMethodInvocation.Used by
RmiClientInterceptor(for RMI invokers) and byHttpInvokerClientInterceptor.- 从以下版本开始:
- 1.1
- 作者:
- Juergen Hoeller
- 另请参阅:
DefaultRemoteInvocationFactory,RemoteInvocationBasedAccessor.setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory),RemoteInvocationBasedAccessor.setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory)
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 RemoteInvocationcreateRemoteInvocation(MethodInvocation methodInvocation)Create a serializable RemoteInvocation object from the given AOP MethodInvocation.
方法详细资料
createRemoteInvocation
RemoteInvocation createRemoteInvocation(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