public interface RemoteInvocationFactory
RemoteInvocation
from an AOP Alliance
MethodInvocation
.
Used by RmiClientInterceptor
(for RMI invokers)
and by HttpInvokerClientInterceptor
.
DefaultRemoteInvocationFactory
,
RemoteInvocationBasedAccessor.setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory)
,
RemoteInvocationBasedAccessor.setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory)
Modifier and Type | Method and Description |
---|---|
RemoteInvocation |
createRemoteInvocation(MethodInvocation methodInvocation)
Create a serializable RemoteInvocation object from the given AOP
MethodInvocation.
|
RemoteInvocation createRemoteInvocation(MethodInvocation methodInvocation)
Can be implemented to add custom context information to the remote invocation, for example user credentials.
methodInvocation
- the original AOP MethodInvocation object