Koin Application
Koin Application Help prepare resources for Koin context
Author
Arnaud Giuliani
Functions
Allow definition override or not, in a global manner
Create eager instances (single with createdAtStart)
Load properties from environment
Load properties from file
Includes other KoinConfiguration in the current KoinApplication
Set Koin Logger
Compiler Plugin Stub - Load the module generated from a single @Module annotated class into this KoinApplication. The compiler plugin transforms this call to inject the module generated from the type parameter T via IR.
Load definitions from modules
Compiler Plugin Stub - Load modules generated from multiple @Module annotated classes into this KoinApplication. The compiler plugin transforms this call to inject the modules generated from the provided KClass references via IR.
Activate Koin Feature Flag options
Set Koin to use PrintLogger, by default at Level.INFO
Load properties from Map
Definition override has to be explicit on teh definition using the "override" DSL same as allowOverride(false)
Compiler Plugin Stub - Apply configuration with modules discovered from @KoinApplication annotated class to an existing KoinApplication. The compiler plugin transforms this call to inject modules based on the @Configuration tags associated with type parameter T.
Compiler Plugin Support Function - Apply configuration with the provided list of modules to an existing KoinApplication. This function is called by the compiler plugin after transforming withConfiguration