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

invoke

open fun invoke(invocation: MethodInvocation): Any

Overrides MethodInterceptor.invoke

Fetches an RMI stub and delegates to #doInvoke. If configured to refresh on connect failure, it will call #refreshAndRetry on corresponding RMI exceptions.

See Also
#getStub#doInvoke#refreshAndRetryjava.rmi.ConnectExceptionjava.rmi.ConnectIOExceptionjava.rmi.NoSuchObjectException