Class AbstractLocationConfigSourceLoader.ConfigurableProfileConfigSourceFactory

java.lang.Object
io.smallrye.config.AbstractLocationConfigSourceLoader.ConfigurableProfileConfigSourceFactory
All Implemented Interfaces:
ConfigSourceFactory
Enclosing class:
AbstractLocationConfigSourceLoader

protected final class AbstractLocationConfigSourceLoader.ConfigurableProfileConfigSourceFactory extends Object
  • Constructor Details

    • ConfigurableProfileConfigSourceFactory

      public ConfigurableProfileConfigSourceFactory(URI uri, int ordinal)
  • Method Details

    • getProfileConfigSources

      public Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getProfileConfigSources(List<String> profiles)
    • getPriority

      public OptionalInt getPriority()
      Description copied from interface: ConfigSourceFactory
      Returns the factory priority. This is required, because the factory needs to be sorted before doing initialization. Once the factory is initialized, each a ConfigSource will use its own ordinal to determine the config lookup order.
      Specified by:
      getPriority in interface ConfigSourceFactory
      Returns:
      the priority value.
    • getConfigSources

      default Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources(ConfigSourceContext context)
      Specified by:
      getConfigSources in interface ConfigSourceFactory