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
-
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:
getConfigSources
in interfaceConfigSourceProvider
-
getConfigSources
Description copied from interface:MpConfigSourceProvider
Returns a list of configuration sources.- Specified by:
getConfigSources
in interfaceMpConfigSourceProvider
- Parameters:
classLoader
- classloader where resource will be retrieved fromprofile
- configuration profile to use, must not be null- Returns:
- list of config sources
-