Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| The Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.remoting.support
Interface RemoteInvocationFactory

All Known Implementing Classes:
  DefaultRemoteInvocationFactory

    public interface RemoteInvocationFactory

Strategy interface for creating a RemoteInvocation from an AOP MethodInvocation. Used by RmiClientInterceptor (for RMI invokers) and HttpInvokerServiceExporter.

Since:
  1.1
Author:
  Juergen Hoeller
See Also:
  `DefaultRemoteInvocationFactory`, `RemoteInvocationBasedAccessor.setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory)`, `RemoteInvocationBasedAccessor.setRemoteInvocationFactory(org.springframework.remoting.support.RemoteInvocationFactory)`

Method Summary
`RemoteInvocation` | `createRemoteInvocation(MethodInvocation methodInvocation)` Create a serializable RemoteInvocation object from the given AOP MethodInvocation.

Method Detail

### createRemoteInvocation

    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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| The Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2007 The Spring Framework.