Class InjectedPayaraConfig
- java.lang.Object
-
- fish.payara.nucleus.microprofile.config.spi.InjectedPayaraConfig
-
- All Implemented Interfaces:
Serializable,org.eclipse.microprofile.config.Config
public class InjectedPayaraConfig extends Object implements org.eclipse.microprofile.config.Config, Serializable
- Author:
- Steve Millidge
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InjectedPayaraConfig(org.eclipse.microprofile.config.Config delegate, String appName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<org.eclipse.microprofile.config.spi.ConfigSource>getConfigSources()org.eclipse.microprofile.config.ConfigValuegetConfigValue(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> TgetValue(String propertyName, Class<T> propertyType)<T> Tunwrap(Class<T> type)
-
-
-
Constructor Detail
-
InjectedPayaraConfig
public InjectedPayaraConfig(org.eclipse.microprofile.config.Config delegate, String appName)
-
-
Method Detail
-
getValue
public <T> T getValue(String propertyName, Class<T> propertyType)
- Specified by:
getValuein interfaceorg.eclipse.microprofile.config.Config
-
getOptionalValue
public <T> Optional<T> getOptionalValue(String propertyName, Class<T> propertyType)
- Specified by:
getOptionalValuein interfaceorg.eclipse.microprofile.config.Config
-
getPropertyNames
public Iterable<String> getPropertyNames()
- Specified by:
getPropertyNamesin interfaceorg.eclipse.microprofile.config.Config
-
getConfigSources
public Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources()
- Specified by:
getConfigSourcesin interfaceorg.eclipse.microprofile.config.Config
-
getConfigValue
public org.eclipse.microprofile.config.ConfigValue getConfigValue(String propertyName)
- Specified by:
getConfigValuein interfaceorg.eclipse.microprofile.config.Config
-
getConverter
public <T> Optional<org.eclipse.microprofile.config.spi.Converter<T>> getConverter(Class<T> forType)
- Specified by:
getConverterin interfaceorg.eclipse.microprofile.config.Config
-
unwrap
public <T> T unwrap(Class<T> type)
- Specified by:
unwrapin interfaceorg.eclipse.microprofile.config.Config
-
-