- java.lang.Object
-
- io.helidon.config.mp.MpConfig
-
public final class MpConfig extends Object
Utilities for Helidon MicroProfile Config implementation.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Config
toHelidonConfig(Config mpConfig)
This method allows use to use Helidon Config on top of an MP config.
-
-
-
Method Detail
-
toHelidonConfig
public static Config toHelidonConfig(Config mpConfig)
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
-
-