- java.lang.Object
-
- io.helidon.config.yaml.mp.YamlConfigSourceProvider
-
- All Implemented Interfaces:
MpConfigSourceProvider
,ConfigSourceProvider
public class YamlConfigSourceProvider extends Object implements MpConfigSourceProvider
YAML config source provider for MicroProfile config that supports fileapplication.yaml
. This class should not be used directly - it is loaded automatically by Java service loader.
-
-
Constructor Summary
Constructors Constructor Description YamlConfigSourceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<ConfigSource>
getConfigSources(ClassLoader classLoader)
Iterable<ConfigSource>
getConfigSources(ClassLoader classLoader, String profile)
Returns a list of configuration sources.
-
-
-
Method Detail
-
getConfigSources
public Iterable<ConfigSource> getConfigSources(ClassLoader classLoader)
- Specified by:
getConfigSources
in interfaceConfigSourceProvider
-
getConfigSources
public Iterable<ConfigSource> getConfigSources(ClassLoader classLoader, String profile)
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
-
-