android-beans / rocks.frieler.android.beans / Beans / Initializer / addScope

addScope

fun addScope(scopedFactoryBeanHandler: ScopedFactoryBeanHandler): Beans.Initializer

Adds a bean-scope expressed by the given ScopedFactoryBeanHandler.

Parameters

scopedFactoryBeanHandler - the ScopedFactoryBeanHandler to add

Return
the Initializer itself

See Also

BeanRegistry.addBeanScope