Module io.inverno.mod.configuration
module io.inverno.mod.configuration
The Inverno framework configuration module provides advanced application configuration capabilities.
The API defines the ConfigurationSource to store or access configuration properties for a particular context specified as a list of parameters (key/value pairs)
which opens up many possibilities to create highly customizable application.
The module provides several configuration sources:
BootstrapConfigurationSourceused to load the bootstrap configuration of an application from various local sources: command line, system properties, system environment variable and configuration filesCommandLineConfigurationSourceused to load properties specified in the command lineCPropsFileConfigurationSourceused to load properties specified in a.cpropsfileMapConfigurationSourceused to load properties specified in map in memory.PropertyFileConfigurationSourceused to load properties specified in a regular.propertiesfileRedisConfigurationSourceused to store and load properties from a Redis data storeSystemEnvironmentConfigurationSourceused to load properties specified as system environment variablesSystemPropertiesConfigurationSourceused to load properties specified as system propertiesCompositeConfigurationSourceused to load properties from a combination of multiple configuration sources relying on particular strategy to determine the best matching result for a given property
It also introduces the .cprops configuration file format that defines a syntax that simplifies the definition of parameterized configuration properties.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
-
Packages
ExportsPackageDescriptionInverno configuration API.Inverno configuration source implementation classes.Indirect Exports -
Modules
RequiresModifierModuleDescriptiontransitiveDefines the foundational APIs of the Inverno framework modules.