Class MpConfig


public final class MpConfig extends Object
Utilities for Helidon MicroProfile Config implementation.
  • Method Details

    • 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 MicroProfile Config one, this method will create a Helidon config instance that is based on the provided configuration instance.

      mpConfig - MP Config instance
      a new Helidon config using only the mpConfig as its config source