public interface

RemoteInvocationFactory

org.springframework.remoting.support.RemoteInvocationFactory
Known Indirect Subclasses

Class Overview

Strategy interface for creating a RemoteInvocation from an AOP Alliance org.aopalliance.intercept.MethodInvocation.

Used by RmiClientInterceptor (for RMI invokers) and by HttpInvokerClientInterceptor.

Summary

Public Methods
abstract RemoteInvocation createRemoteInvocation(MethodInvocation methodInvocation)
Create a serializable RemoteInvocation object from the given AOP MethodInvocation.

Public Methods

public abstract 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.

Parameters
methodInvocation the original AOP MethodInvocation object
Returns
  • the RemoteInvocation object