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

setServiceInterface

open fun setServiceInterface(serviceInterface: Class<*>): Unit

Set the interface of the service to access. The interface must be suitable for the particular service and remoting tool.

Typically required to be able to create a suitable service proxy, but can also be optional if the lookup returns a typed stub.