spring-framework / org.springframework.remoting.rmi / RmiRegistryFactoryBean / destroy

destroy

open fun destroy(): Unit

Unexport the RMI registry on bean factory shutdown, provided that this bean actually created a registry.