ForInjectionContext

class ForInjectionContext : ParameterProvider

Provider for the injection context

Functions

Link copied to clipboard
open override fun getInjectedServiceTypes(blueprint: KontainerBlueprint): Set<KClass<*>>

Get the injected services types

Link copied to clipboard
open override fun getProvisionType(): ParameterProvider.ProvisionType

Gets the provision type of the parameter.

Link copied to clipboard
open override fun provide(kontainer: Kontainer, context: InjectionContext): InjectionContext

Injects the context

Link copied to clipboard
open override fun validate(kontainer: Kontainer): List<String>

Always valid

Properties

Link copied to clipboard
open override val parameter: KParameter

The name of the parameter