Class DefaultRemoteInvocationFactory
- java.lang.Object
- org.springframework.remoting.support.DefaultRemoteInvocationFactory
- All Implemented Interfaces:
RemoteInvocationFactory
public class DefaultRemoteInvocationFactory extends Object implements RemoteInvocationFactory
Default implementation of theRemoteInvocationFactory
interface. Simply creates a new standardRemoteInvocation
object.- Since:
- 1.1
- Author:
- Juergen Hoeller
Constructor Summary
Constructors Constructor Description DefaultRemoteInvocationFactory()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteInvocation
createRemoteInvocation(MethodInvocation methodInvocation)
Create a serializable RemoteInvocation object from the given AOP MethodInvocation.
Constructor Detail
DefaultRemoteInvocationFactory
public DefaultRemoteInvocationFactory()
Method Detail
createRemoteInvocation
public RemoteInvocation createRemoteInvocation(MethodInvocation methodInvocation)
Description copied from interface:RemoteInvocationFactory
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.
- Specified by:
createRemoteInvocation
in interfaceRemoteInvocationFactory
- Parameters:
methodInvocation
- the original AOP MethodInvocation object- Returns:
- the RemoteInvocation object