PropertyRegistry

class PropertyRegistry(_koin: Koin)

Property Registry Save/find all Koin properties

Author

Arnaud Giuliani

Constructors

Link copied to clipboard
constructor(_koin: Koin)

Functions

Link copied to clipboard
fun close()
Link copied to clipboard

Delete a property (key,value)

Link copied to clipboard
fun <T> getProperty(key: String): T?

Get a property

Link copied to clipboard

Load properties from environment

Link copied to clipboard

Load properties from Property file

Link copied to clipboard
fun saveProperties(properties: Map<String, Any>)

saveProperty all properties to registry

Link copied to clipboard

Save properties values into PropertyRegister