public class

DefaultRemoteInvocationFactory

extends Object
implements RemoteInvocationFactory
java.lang.Object
   ↳ org.springframework.remoting.support.DefaultRemoteInvocationFactory

Class Overview

Default implementation of the RemoteInvocationFactory interface. Simply creates a new standard RemoteInvocation object.

Summary

Public Constructors
DefaultRemoteInvocationFactory()
Public Methods
RemoteInvocation createRemoteInvocation(MethodInvocation methodInvocation)
Create a serializable RemoteInvocation object from the given AOP MethodInvocation.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.remoting.support.RemoteInvocationFactory

Public Constructors

public DefaultRemoteInvocationFactory ()

Public Methods

public 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