Class MapBackedConfigValueConfigSource

java.lang.Object
io.smallrye.config.common.AbstractConfigSource
io.smallrye.config.MapBackedConfigValueConfigSource
All Implemented Interfaces:
ConfigValueConfigSource, Serializable, org.eclipse.microprofile.config.spi.ConfigSource
Direct Known Subclasses:
PropertiesConfigSource

public abstract class MapBackedConfigValueConfigSource extends io.smallrye.config.common.AbstractConfigSource implements ConfigValueConfigSource
See Also:
  • Constructor Details

    • MapBackedConfigValueConfigSource

      public MapBackedConfigValueConfigSource(String name, Map<String,ConfigValue> propertyMap)
      Construct a new instance. The config source will use a default ordinal of 100 and will use a copy of the given map.
      Parameters:
      name - the config source name
      propertyMap - the map to use
    • MapBackedConfigValueConfigSource

      public MapBackedConfigValueConfigSource(String name, Map<String,ConfigValue> propertyMap, int defaultOrdinal)
      Construct a new instance. The config source will use the given default ordinal, and will use a copy of the given map.
      Parameters:
      name - the config source name
      propertyMap - the map to use
      defaultOrdinal - the default ordinal to use if one is not given in the map
  • Method Details