class SingletonScopedFactoryBeanHandler : ScopedFactoryBeanHandler
ScopedFactoryBeanHandler for the singleton-scope.
It produces a new bean-instance only for the first time and re-uses it forever.
Author
Christopher Frieler
SingletonScopedFactoryBeanHandler()
ScopedFactoryBeanHandler for the singleton-scope. |
val isActive: Boolean
Checks whether the scope is active, i.e. if beans of this scope are currently available. |
|
val name: String
Returns the name of the scope. |
fun <T : Any> getBean(name: String, factoryBean: ScopedFactoryBean<T>, dependencies: BeansProvider): T
Returns the bean defined by the given ScopedFactoryBean. |
const val SINGLETON_SCOPE: String |