Class DefaultRemoteInvocationFactory
- java.lang.Object
- org.springframework.remoting.support.DefaultRemoteInvocationFactory
- All Implemented Interfaces:
RemoteInvocationFactory
public class DefaultRemoteInvocationFactory extends Object implements RemoteInvocationFactory
Default implementation of theRemoteInvocationFactoryinterface. Simply creates a new standardRemoteInvocationobject.- 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 RemoteInvocationcreateRemoteInvocation(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:RemoteInvocationFactoryCreate 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:
createRemoteInvocationin interfaceRemoteInvocationFactory- Parameters:
methodInvocation- the original AOP MethodInvocation object- Returns:
- the RemoteInvocation object