public class SmallRyeConfig extends Object implements org.eclipse.microprofile.config.Config, Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
SmallRyeConfig(List<org.eclipse.microprofile.config.spi.ConfigSource> configSources,
Map<Type,org.eclipse.microprofile.config.spi.Converter<?>> converters) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
convert(String value,
Class<T> asType) |
Iterable<org.eclipse.microprofile.config.spi.ConfigSource> |
getConfigSources() |
<T> org.eclipse.microprofile.config.spi.Converter<T> |
getConverter(Class<T> asType) |
<T> Optional<T> |
getOptionalValue(String name,
Class<T> aClass) |
Iterable<String> |
getPropertyNames() |
<T> T |
getValue(String name,
Class<T> aClass) |
<T,C extends Collection<T>> |
getValues(String name,
Class<T> itemClass,
IntFunction<C> collectionFactory) |
public <T,C extends Collection<T>> C getValues(String name, Class<T> itemClass, IntFunction<C> collectionFactory)
public <T> T getValue(String name, Class<T> aClass)
getValue in interface org.eclipse.microprofile.config.Configpublic <T> Optional<T> getOptionalValue(String name, Class<T> aClass)
getOptionalValue in interface org.eclipse.microprofile.config.Configpublic Iterable<String> getPropertyNames()
getPropertyNames in interface org.eclipse.microprofile.config.Configpublic Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources()
getConfigSources in interface org.eclipse.microprofile.config.Configpublic <T> org.eclipse.microprofile.config.spi.Converter<T> getConverter(Class<T> asType)
Copyright © 2018–2019. All rights reserved.