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".
#getObject()