public interface RemoteInvocationFactory
RemoteInvocation from an AOP Alliance
MethodInvocation.
Used by RmiClientInterceptor (for RMI invokers)
and by org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.
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.
|
RemoteInvocation createRemoteInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation)
Can be implemented to add custom context information to the remote invocation, for example user credentials.
methodInvocation - the original AOP MethodInvocation object