Kontainer Builder
class KontainerBuilder
Content copied to clipboard
Types
InjectionTypeUpgrade
Link copied to clipboard
class InjectionTypeUpgrade
Content copied to clipboard
Functions
config
Link copied to clipboard
dynamic
Link copied to clipboard
Registers a dynamic service with variable number of parametersThe service can by injected by the type SRV and its base types
Registers a dynamic serviceThe service can be injected by the type SRV and its base types.
Registers a dynamic service with variable number of parametersThe service can by injected by the type SRV and its base types
dynamic0
Link copied to clipboard
instance
Link copied to clipboard
module
Link copied to clipboard
fun <P> module(module: ParameterizedKontainerModule<P>, param: P): KontainerBuilder
Content copied to clipboard
fun <P1, P2> module(module: ParameterizedKontainerModule2<P1, P2>, p1: P1, p2: P2): KontainerBuilder
Content copied to clipboard
prototype
Link copied to clipboard
Registers a prototype service with variable number of parametersThe service can by injected by the type SRV and its base types
Registers a prototype serviceThe service can be injected by the type SRV or its base types
Registers a prototype service with variable number of parametersThe service can by injected by the type SRV and its base types
prototype0
Link copied to clipboard
inline fun <SRV : Any, IMPL : SRV> prototype0(noinline factory: () -> IMPL): KontainerBuilder
Content copied to clipboard
fun <SRV : Any, IMPL : SRV> prototype0(srv: KClass<SRV>, factory: () -> IMPL): KontainerBuilder
Content copied to clipboard
singleton
Link copied to clipboard
Registers a singleton service with variable number of parametersThe service can by injected by the type SRV and its base types
Registers a singleton serviceThe service can by injected by the type SRV and its base types
Registers a singleton service with variable number of parametersThe service can by injected by the type SRV and its base types
singleton0
Link copied to clipboard
inline fun <SRV : Any, IMPL : SRV> singleton0(noinline factory: () -> IMPL): KontainerBuilder
Content copied to clipboard
fun <SRV : Any, IMPL : SRV> singleton0(srv: KClass<SRV>, factory: () -> IMPL): KontainerBuilder
Content copied to clipboard