ServiceDefinition

class ServiceDefinition

Defines a service

Specifies which class the definitions produces. Specifies the type of the service. The ServiceProducer is used to create an instance of the service

Functions

withType
Link copied to clipboard
fun withType(type: InjectionType): ServiceDefinition

Properties

producer
Link copied to clipboard
val producer: ServiceProducer
produces
Link copied to clipboard
val produces: KClass<*>
type
Link copied to clipboard
val type: InjectionType