class ScopeRegistry
Scope Registry create/find scopes for Koin
Author
Arnaud Giuliani
<init> |
Scope Registry create/find scopes for Koin ScopeRegistry(_koin: Koin) |
rootScope |
val rootScope: Scope |
scopeDefinitions |
val scopeDefinitions: Map<QualifierValue, ScopeDefinition> |
createScope |
fun createScope(scopeId: ScopeID, qualifier: Qualifier, source: Any? = null): Scope |
declareDefinition |
fun declareDefinition(bean: BeanDefinition<*>): Unit |
deleteScope |
fun deleteScope(scopeId: ScopeID): Unitfun deleteScope(scope: Scope): Unit |
getScopeOrNull |
fun getScopeOrNull(scopeId: ScopeID): Scope? |
size |
fun size(): Int |
unloadModules |
fun unloadModules(modules: Iterable<Module>): Unitfun unloadModules(module: Module): Unit |