Base implementation of MicroProfile Config 3.x for use in plain Java SE (Java 11+).
The initial 1.0.1 release is available as (as it was done before name was officially assigned)
<groupId>be.atbash</groupId>
<artifactId>mp-config-se</artifactId>
<version>1.0.1</version>
Following concepts and features are supported in this SE only (non-CDI) version.
ConfigSource
, the 3 default implementations with their default ordinal values and the possibility to define custom ones through the ServiceLoader mechanism.- Custom
ConfigSourceProvider
's can be loaded through the ServiceLoader mechanism. Converter
, the implicit defined one as specified in the specification and the possibility to define custom converters using the ServiceLoader mechanism.- Support for optional values, expressions
- Support for Config Profile.
- Support for
ConfigBuilder
and creating customConfig
instances.
Things that are explicitly not supported:
- Injection of a config value into a CDI bean.
@ConfigProperties
.
However, these are supported within Atbash Runtime with the MP Config module.
- Small code improvements
- Use SLF4J everywhere for logging
- Fix SNAPSHOT dependency