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

setSingleton

open fun setSingleton(singleton: Boolean): Unit

Set if a singleton should be created, or a new object on each #getObject() request otherwise. Default is "true".