- java.lang.Object
-
- org.eclipse.microprofile.config.spi.ConfigProviderResolver
-
- io.helidon.config.mp.MpConfigProviderResolver
-
public class MpConfigProviderResolver extends ConfigProviderResolver
Integration with microprofile config. This class is an implementation of a java service obtained through ServiceLoader.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MpConfigProviderResolver.ConfigDelegate
Deprecated.This is an internal class that was exposed accidentally.
-
Constructor Summary
Constructors Constructor Description MpConfigProviderResolver()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
buildTimeEnd()
This method should only be called when generating native image, as late in the process as possible.MpConfigBuilder
getBuilder()
Config
getConfig()
Config
getConfig(ClassLoader classLoader)
void
registerConfig(Config config, ClassLoader classLoader)
void
releaseConfig(Config config)
static void
runtimeStart(Config config)
This method should only be called when running within native image, as soon as runtime configuration is available.-
Methods inherited from class org.eclipse.microprofile.config.spi.ConfigProviderResolver
instance, setInstance
-
-
-
-
Method Detail
-
getConfig
public Config getConfig()
- Specified by:
getConfig
in classConfigProviderResolver
-
getConfig
public Config getConfig(ClassLoader classLoader)
- Specified by:
getConfig
in classConfigProviderResolver
-
getBuilder
public MpConfigBuilder getBuilder()
- Specified by:
getBuilder
in classConfigProviderResolver
-
registerConfig
public void registerConfig(Config config, ClassLoader classLoader)
- Specified by:
registerConfig
in classConfigProviderResolver
-
runtimeStart
public static void runtimeStart(Config config)
This method should only be called when running within native image, as soon as runtime configuration is available.- Parameters:
config
- configuration to use
-
buildTimeEnd
public static void buildTimeEnd()
This method should only be called when generating native image, as late in the process as possible.
-
releaseConfig
public void releaseConfig(Config config)
- Specified by:
releaseConfig
in classConfigProviderResolver
-
-