MicroProfile Config3.02.01.41.31.21.1
The Eclipse MicroProfile Config specification provides a unified mechanism to access configuration, providing a single view of multiple sources.
You can use MicroProfile Config properties to provide configuration values for other MicroProfile APIs. For more information about MicroProfile Config properties that are available for different MicroProfile APIs, see MicroProfile Config Properties.
If you are updating your application from using MicroProfile Config 1.4 to using MicroProfile Config 2.0, changes in API behavior might require you to update your application code. For more information, see Differences between MicroProfile Config 2.0 and 1.4.
Enabling this feature
To enable the MicroProfile Config 2.0 feature, add the following element declaration into your server.xml
file, inside the featureManager
element:
<feature>mpConfig-2.0</feature>
Stable API packages provided by this feature
org.eclipse.microprofile.config
org.eclipse.microprofile.config.inject
org.eclipse.microprofile.config.spi