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:
BootstrapConfigurationSource
used to load the bootstrap configuration of an application from various local sources: command line, system properties, system environment variable and configuration filesCommandLineConfigurationSource
used to load properties specified in the command lineCPropsFileConfigurationSource
used to load properties specified in a.cprops
fileMapConfigurationSource
used to load properties specified in map in memory.PropertyFileConfigurationSource
used to load properties specified in a regular.properties
fileRedisConfigurationSource
used to store and load properties from a Redis data storeSystemEnvironmentConfigurationSource
used to load properties specified as system environment variablesSystemPropertiesConfigurationSource
used to load properties specified as system propertiesCompositeConfigurationSource
used 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
PackageDescriptionInverno configuration API.Inverno configuration source implementation classes. -
Modules
ModifierModuleDescriptiontransitiveDefines the foundational APIs of the Inverno framework modules.