koin-core / org.koin.core.definition / DefinitionFactory

DefinitionFactory

object DefinitionFactory

Functions

createDefinition

fun <T> createDefinition(qualifier: Qualifier?, definition: Definition<T>, kind: Kind, scopeName: Qualifier?): BeanDefinition<T>

createFactory

fun <T> createFactory(qualifier: Qualifier? = null, scopeName: Qualifier? = null, definition: Definition<T>): BeanDefinition<T>

createScoped

fun <T> createScoped(qualifier: Qualifier? = null, scopeName: Qualifier? = null, definition: Definition<T>): BeanDefinition<T>

createSingle

fun <T> createSingle(qualifier: Qualifier? = null, scopeName: Qualifier? = null, definition: Definition<T>): BeanDefinition<T>