ServiceProviderFactory

class ServiceProviderFactory(    val blueprint: KontainerBlueprint,     val dynamics: DynamicOverrides,     providerProviders: Map<KClass<*>, ServiceProvider.Provider>)

Constructors

Link copied to clipboard
fun ServiceProviderFactory(    blueprint: KontainerBlueprint,     dynamics: DynamicOverrides,     providerProviders: Map<KClass<*>, ServiceProvider.Provider>)

Functions

Link copied to clipboard
fun getAllProviders(): Map<KClass<*>, ServiceProvider>
Link copied to clipboard
fun getProvider(cls: KClass<*>): ServiceProvider

Get the ServiceProducer for the given cls.

Link copied to clipboard
fun isProviderCreated(cls: KClass<*>): Boolean

Checks if the ServiceProvider for the given cls is created.

Link copied to clipboard
fun newKontainer(): Kontainer

Properties

Link copied to clipboard
val blueprint: KontainerBlueprint
Link copied to clipboard
val dynamics: DynamicOverrides