spring-framework / org.springframework.remoting.rmi / JndiRmiClientInterceptor / setRemoteInvocationFactory

setRemoteInvocationFactory

open fun setRemoteInvocationFactory(remoteInvocationFactory: RemoteInvocationFactory): Unit

Set the RemoteInvocationFactory to use for this accessor. Default is a DefaultRemoteInvocationFactory.

A custom invocation factory can add further context information to the invocation, for example user credentials.