Package io.smallrye.config
Class PropertiesConfigSource
java.lang.Object
io.smallrye.config.common.AbstractConfigSource
io.smallrye.config.MapBackedConfigValueConfigSource
io.smallrye.config.PropertiesConfigSource
- All Implemented Interfaces:
ConfigValueConfigSource,Serializable,org.eclipse.microprofile.config.spi.ConfigSource
- Author:
- Jeff Mesnil (c) 2017 Red Hat inc.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.smallrye.config.ConfigValueConfigSource
ConfigValueConfigSource.ConfigValueMapStringView, ConfigValueConfigSource.ConfigValueMapView, ConfigValueConfigSource.ConfigValueProperties -
Field Summary
FieldsFields inherited from interface org.eclipse.microprofile.config.spi.ConfigSource
CONFIG_ORDINAL, DEFAULT_ORDINAL -
Constructor Summary
ConstructorsConstructorDescriptionPropertiesConfigSource(URL url, int defaultOrdinal) PropertiesConfigSource(Map<String, String> properties, String name) PropertiesConfigSource(Map<String, String> properties, String name, int defaultOrdinal) PropertiesConfigSource(Properties properties, String name) PropertiesConfigSource(Properties properties, String name, int defaultOrdinal) -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<String, ConfigValue> urlToConfigValueMap(URL locationOfProperties, String name, int ordinal) Methods inherited from class io.smallrye.config.MapBackedConfigValueConfigSource
getConfigValue, getConfigValueProperties, getPropertyNamesMethods inherited from class io.smallrye.config.common.AbstractConfigSource
getName, getOrdinal, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.microprofile.config.spi.ConfigSource
getName, getOrdinalMethods inherited from interface io.smallrye.config.ConfigValueConfigSource
getProperties, getValue
-
Field Details
-
NAME
- See Also:
-
ORDINAL
public static final int ORDINAL- See Also:
-
-
Constructor Details
-
PropertiesConfigSource
- Throws:
IOException
-
PropertiesConfigSource
- Throws:
IOException
-
PropertiesConfigSource
-
PropertiesConfigSource
-
PropertiesConfigSource
-
PropertiesConfigSource
-
-
Method Details
-
urlToConfigValueMap
public static Map<String,ConfigValue> urlToConfigValueMap(URL locationOfProperties, String name, int ordinal) throws IOException - Throws:
IOException
-