ServiceDefinition

class ServiceDefinition

Defines a service

serviceCls is the base class as which this service is registered.

injectionType is how the service is to be injected.

ServiceProducer is used to create an instance of the service.

Types

Link copied to clipboard
class CodeLocation

Functions

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

Properties

Link copied to clipboard
val codeLocation: ServiceDefinition.CodeLocation
Link copied to clipboard
val injectionType: InjectionType
Link copied to clipboard
val overwrites: ServiceDefinition?
Link copied to clipboard
val producer: ServiceProducer<*>
Link copied to clipboard
val serviceCls: KClass<*>