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

setAlwaysCreate

open fun setAlwaysCreate(alwaysCreate: Boolean): Unit

Set whether to always create the registry in-process, not attempting to locate an existing registry at the specified port.

Default is "false". Switch this flag to "true" in order to avoid the overhead of locating an existing registry when you always intend to create a new registry in any case.