-
- All Superinterfaces:
ConfigSourceProvider
- All Known Implementing Classes:
YamlConfigSourceProvider
public interface MpConfigSourceProvider extends ConfigSourceProvider
Java Service loader interface for MP ConfigSource Providers that adds configuration profile support.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<ConfigSource>
getConfigSources(ClassLoader classLoader, String profile)
Returns a list of configuration sources.-
Methods inherited from interface org.eclipse.microprofile.config.spi.ConfigSourceProvider
getConfigSources
-
-
-
-
Method Detail
-
getConfigSources
Iterable<ConfigSource> getConfigSources(ClassLoader classLoader, String profile)
Returns a list of configuration sources.- Parameters:
classLoader
- classloader where resource will be retrieved fromprofile
- configuration profile to use, must not be null- Returns:
- list of config sources
-
-