ServiceProducer

class ServiceProducer<T : Any>

Produce service instance

The signature is the list of parameters of the primary constructor of the service.

The creator is a function that produces the service instance and expects the correct parameters to do so.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val creates: KClass<out T>
Link copied to clipboard
val creator: (kontainer: Kontainer, params: Array<Any?>) -> T
Link copied to clipboard
val paramProviders: List<ParameterProvider>
Link copied to clipboard
val signature: List<KParameter>