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.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)
-
-
-
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:
getValue
in interfaceorg.eclipse.microprofile.config.Config
-
getOptionalValue
public <T> Optional<T> getOptionalValue(String propertyName, Class<T> propertyType)
- Specified by:
getOptionalValue
in interfaceorg.eclipse.microprofile.config.Config
-
getPropertyNames
public Iterable<String> getPropertyNames()
- Specified by:
getPropertyNames
in interfaceorg.eclipse.microprofile.config.Config
-
getConfigSources
public Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources()
- Specified by:
getConfigSources
in interfaceorg.eclipse.microprofile.config.Config
-
getConfigValue
public org.eclipse.microprofile.config.ConfigValue getConfigValue(String propertyName)
- Specified by:
getConfigValue
in interfaceorg.eclipse.microprofile.config.Config
-
getConverter
public <T> Optional<org.eclipse.microprofile.config.spi.Converter<T>> getConverter(Class<T> forType)
- Specified by:
getConverter
in interfaceorg.eclipse.microprofile.config.Config
-
unwrap
public <T> T unwrap(Class<T> type)
- Specified by:
unwrap
in interfaceorg.eclipse.microprofile.config.Config
-
-