Class CustomConfigSource

  • All Implemented Interfaces:
    org.eclipse.microprofile.config.spi.ConfigSource

    @ApplicationScoped
    public class CustomConfigSource
    extends Object
    implements org.eclipse.microprofile.config.spi.ConfigSource
    • Constructor Detail

      • CustomConfigSource

        public CustomConfigSource()
    • Method Detail

      • getProperties

        public Map<String,​String> getProperties()
        Specified by:
        getProperties in interface org.eclipse.microprofile.config.spi.ConfigSource
      • getPropertyNames

        public Set<String> getPropertyNames()
        Specified by:
        getPropertyNames in interface org.eclipse.microprofile.config.spi.ConfigSource
      • getOrdinal

        public int getOrdinal()
        Specified by:
        getOrdinal in interface org.eclipse.microprofile.config.spi.ConfigSource
      • getValue

        public String getValue​(String name)
        Specified by:
        getValue in interface org.eclipse.microprofile.config.spi.ConfigSource
      • getName

        public String getName()
        Specified by:
        getName in interface org.eclipse.microprofile.config.spi.ConfigSource