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(id: ScopeID, scopeName: Qualifier? = null): Scope

Create a scope instance for given scope

deleteScopeInstance

fun deleteScopeInstance(id: ScopeID): Unit

getScopeDefinition

fun getScopeDefinition(scopeName: String): ScopeSet?

getScopeInstance

fun getScopeInstance(id: ScopeID): Scope

getScopeInstanceOrNull

fun getScopeInstanceOrNull(id: ScopeID): Scope?

loadDefaultScopes

fun loadDefaultScopes(koin: Koin): Unit