ServiceProducer

class ServiceProducer

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

Companion
Link copied to clipboard
object Companion

Properties

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