Class 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 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 interface org.eclipse.microprofile.config.Config
      • getOptionalValue

        public <T> Optional<T> getOptionalValue​(String propertyName,
                                                Class<T> propertyType)
        Specified by:
        getOptionalValue in interface org.eclipse.microprofile.config.Config
      • getPropertyNames

        public Iterable<String> getPropertyNames()
        Specified by:
        getPropertyNames in interface org.eclipse.microprofile.config.Config
      • getConfigSources

        public Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources()
        Specified by:
        getConfigSources in interface org.eclipse.microprofile.config.Config
      • getConfigValue

        public org.eclipse.microprofile.config.ConfigValue getConfigValue​(String propertyName)
        Specified by:
        getConfigValue in interface org.eclipse.microprofile.config.Config
      • getConverter

        public <T> Optional<org.eclipse.microprofile.config.spi.Converter<T>> getConverter​(Class<T> forType)
        Specified by:
        getConverter in interface org.eclipse.microprofile.config.Config
      • unwrap

        public <T> T unwrap​(Class<T> type)
        Specified by:
        unwrap in interface org.eclipse.microprofile.config.Config