java.lang.Object
io.helidon.config.yaml.mp.YamlConfigSourceProvider
- All Implemented Interfaces:
MpConfigSourceProvider,ConfigSourceProvider
YAML config source provider for MicroProfile config that supports file
application.yaml.
This class should not be used directly - it is loaded automatically by Java service loader.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConfigSources(ClassLoader classLoader) getConfigSources(ClassLoader classLoader, String profile) Returns a list of configuration sources.
-
Constructor Details
-
YamlConfigSourceProvider
public YamlConfigSourceProvider()
-
-
Method Details
-
getConfigSources
- Specified by:
getConfigSourcesin interfaceConfigSourceProvider
-
getConfigSources
Description copied from interface:MpConfigSourceProviderReturns a list of configuration sources.- Specified by:
getConfigSourcesin interfaceMpConfigSourceProvider- Parameters:
classLoader- classloader where resource will be retrieved fromprofile- configuration profile to use, must not be null- Returns:
- list of config sources
-