class KoinApplication
Koin Application Help prepare resources for Koin context
Author
Arnaud Giuliani
koin |
val koin: Koin |
close |
fun close(): Unit |
createEagerInstances |
Create Single instances Definitions marked as createdAtStart fun createEagerInstances(): KoinApplication |
environmentProperties |
Load properties from environment fun environmentProperties(): KoinApplication |
fileProperties |
Load properties from file fun fileProperties(fileName: String = "/koin.properties"): KoinApplication |
logger |
Set Koin Logger fun logger(logger: Logger): KoinApplication |
modules |
Load definitions from modules fun modules(modules: Module): KoinApplicationfun modules(vararg modules: Module): KoinApplicationfun modules(modules: List<Module>): KoinApplication |
printLogger |
Set Koin to use PrintLogger, by default at Level.INFO fun printLogger(level: Level = Level.INFO): KoinApplication |
properties |
Load properties from Map fun properties(values: Map<String, String>): KoinApplication |
unloadModules |
fun unloadModules(module: Module): Unitfun unloadModules(modules: List<Module>): Unit |
init |
Create a new instance of KoinApplication fun init(): KoinApplication |