interface ScopedFactoryBeanHandler
Interface for classes handling ScopedFactoryBeans of the corresponding scope.
Author
Christopher Frieler
abstract val isActive: Boolean
Checks whether the scope is active, i.e. if beans of this scope are currently available. |
|
abstract val name: String
Returns the name of the scope. |
abstract fun <T : Any> getBean(name: String, factoryBean: ScopedFactoryBean<T>, dependencies: BeansProvider): T
Returns the bean defined by the given ScopedFactoryBean. |
class ActivityScopedFactoryBeanHandler : ScopedFactoryBeanHandler
ScopedFactoryBeanHandler for the ACTIVITY_SCOPE-scope. |
|
class PrototypeScopedFactoryBeanHandler : ScopedFactoryBeanHandler
ScopedFactoryBeanHandler for the {@value #PROTOTYPE_SCOPE}-scope. |
|
class SingletonScopedFactoryBeanHandler : ScopedFactoryBeanHandler
ScopedFactoryBeanHandler for the singleton-scope. |