org.springframework.remoting.support

Class DefaultRemoteInvocationFactory

  • java.lang.Object
    • org.springframework.remoting.support.DefaultRemoteInvocationFactory
    • 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 interface RemoteInvocationFactory
        Parameters:
        methodInvocation - the original AOP MethodInvocation object
        Returns:
        the RemoteInvocation object