public class InjectedPayaraConfig extends Object implements org.eclipse.microprofile.config.Config, Serializable
| Constructor and Description |
|---|
InjectedPayaraConfig(org.eclipse.microprofile.config.Config delegate,
String appName) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<org.eclipse.microprofile.config.spi.ConfigSource> |
getConfigSources() |
org.eclipse.microprofile.config.ConfigValue |
getConfigValue(String propertyName) |
<T> Optional<org.eclipse.microprofile.config.spi.Converter<T>> |
getConverter(Class<T> forType) |
<T> Optional<T> |
getOptionalValue(String propertyName,
Class<T> propertyType) |
Iterable<String> |
getPropertyNames() |
<T> T |
getValue(String propertyName,
Class<T> propertyType) |
<T> T |
unwrap(Class<T> type) |
public InjectedPayaraConfig(org.eclipse.microprofile.config.Config delegate,
String appName)
public <T> T getValue(String propertyName, Class<T> propertyType)
getValue in interface org.eclipse.microprofile.config.Configpublic <T> Optional<T> getOptionalValue(String propertyName, Class<T> propertyType)
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 org.eclipse.microprofile.config.ConfigValue getConfigValue(String propertyName)
getConfigValue in interface org.eclipse.microprofile.config.Configpublic <T> Optional<org.eclipse.microprofile.config.spi.Converter<T>> getConverter(Class<T> forType)
getConverter in interface org.eclipse.microprofile.config.Configpublic <T> T unwrap(Class<T> type)
unwrap in interface org.eclipse.microprofile.config.ConfigCopyright © 2021. All rights reserved.