spring-framework / org.springframework.beans.factory.config / PropertiesFactoryBean / setSingleton

setSingleton

fun setSingleton(singleton: Boolean): Unit

Set whether a shared 'singleton' Properties instance should be created, or rather a new Properties instance on each request.

Default is "true" (a shared singleton).