koin-core / org.koin.core.registry / ScopeRegistry

ScopeRegistry

class ScopeRegistry

Scope Registry create/find scopes for Koin

Author
Arnaud Giuliani

Constructors

<init>

ScopeRegistry()

Scope Registry create/find scopes for Koin

Functions

close

fun close(): Unit

createScopeInstance

fun createScopeInstance(koin: Koin, id: ScopeID, scopeName: Qualifier): Scope

Create a scope instance for given scope

deleteScopeInstance

fun deleteScopeInstance(id: ScopeID): Unit

getScopeDefinition

fun getScopeDefinition(scopeName: String): ScopeDefinition?

getScopeInstance

fun getScopeInstance(id: ScopeID): Scope

getScopeInstanceOrNull

fun getScopeInstanceOrNull(id: ScopeID): Scope?

getScopeSets

fun getScopeSets(): MutableCollection<ScopeDefinition>

return all ScopeSet

loadDefaultScopes

fun loadDefaultScopes(koin: Koin): Unit