Package io.smallrye.config
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.smallrye.config.ConfigSourceFactory
ConfigSourceFactory.ConfigurableConfigSourceFactory<MAPPING> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefault Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources(ConfigSourceContext context) Returns the factory priority.Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getProfileConfigSources(List<String> profiles)
-
Constructor Details
-
ConfigurableProfileConfigSourceFactory
-
-
Method Details
-
getProfileConfigSources
-
getPriority
Description copied from interface:ConfigSourceFactoryReturns the factory priority. This is required, because the factory needs to be sorted before doing initialization. Once the factory is initialized, each aConfigSourcewill use its own ordinal to determine the config lookup order.- Specified by:
getPriorityin interfaceConfigSourceFactory- Returns:
- the priority value.
-
getConfigSources
default Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources(ConfigSourceContext context) - Specified by:
getConfigSourcesin interfaceConfigSourceFactory
-