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() |
protected <T> org.eclipse.microprofile.config.spi.Converter |
getConverter(Class<T> asType) |
<T> Optional<T> |
getOptionalValue(String name,
Class<T> aClass) |
Iterable<String> |
getPropertyNames() |
<T> T |
getValue(String name,
Class<T> aClass) |
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.Configprotected <T> org.eclipse.microprofile.config.spi.Converter getConverter(Class<T> asType)
Copyright © 2018. All rights reserved.