Create a new RemoteInvocation object for the given AOP method invocation.
The default implementation delegates to the configured
RemoteInvocationBasedAccessor.setRemoteInvocationFactory RemoteInvocationFactory .
This can be overridden in subclasses in order to provide custom RemoteInvocation
subclasses, containing additional invocation parameters (e.g. user credentials).
Note that it is preferable to build a custom RemoteInvocationFactory
as a reusable strategy, instead of overriding this method.
Parameters: methodInvocation - the current AOP method invocation the RemoteInvocation object See Also: RemoteInvocationFactory.createRemoteInvocation |