koin-core / org.koin.core.instance / FactoryInstanceHolder

FactoryInstanceHolder

class FactoryInstanceHolder<T> : InstanceHolder<T>

InstanceHolder - Factory create a new instance each time

Constructors

<init>

FactoryInstanceHolder(bean: BeanDefinition<T>)

InstanceHolder - Factory create a new instance each time

Properties

bean

val bean: BeanDefinition<T>

Functions

get

fun <T> get(parameters: ParameterDefinition): Instance<T>

release

fun release(): Unit

Inherited Functions

create

open fun <T> create(parameters: ParameterDefinition): T