Interface MpConfigSourceProvider

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 Details

    • getConfigSources

      Iterable<ConfigSource> getConfigSources(ClassLoader classLoader, String profile)
      Returns a list of configuration sources.
      Parameters:
      classLoader - classloader where resource will be retrieved from
      profile - configuration profile to use, must not be null
      Returns:
      list of config sources