java.lang.Object
io.helidon.config.mp.MpConfig
Utilities for Helidon MicroProfile Config implementation.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Config
toHelidonConfig
(Config mpConfig) This method allows use to use Helidon Config on top of an MP config.
-
Method Details
-
toHelidonConfig
This method allows use to use Helidon Config on top of an MP config. There is a limitation - the converters configured with MP config will not be available, unless the implementation is coming from Helidon.If you want to use the Helidon
Config
API instead of the MicroProfileConfig
one, this method will create a Helidon config instance that is based on the provided configuration instance.- Parameters:
mpConfig
- MP Config instance- Returns:
- a new Helidon config using only the mpConfig as its config source
-