java.lang.Object
org.eclipse.microprofile.config.spi.ConfigProviderResolver
io.helidon.config.mp.MpConfigProviderResolver
Integration with microprofile config.
This class is an implementation of a java service obtained through ServiceLoader.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
This method should only be called when generating native image, as late in the process as possible.io.helidon.config.mp.MpConfigBuilder
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
-
Constructor Details
-
MpConfigProviderResolver
public MpConfigProviderResolver()
-
-
Method Details
-
getConfig
- Specified by:
getConfig
in classConfigProviderResolver
-
getConfig
- Specified by:
getConfig
in classConfigProviderResolver
-
getBuilder
public io.helidon.config.mp.MpConfigBuilder getBuilder()- Specified by:
getBuilder
in classConfigProviderResolver
-
registerConfig
- Specified by:
registerConfig
in classConfigProviderResolver
-
runtimeStart
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
- Specified by:
releaseConfig
in classConfigProviderResolver
-