Class SysPropConfigSource

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

    public class SysPropConfigSource
    extends Object
    implements org.eclipse.microprofile.config.spi.ConfigSource
    The only reason for this config source is to keep the Keycloak specific properties when configuring the server so that they are read again when running the server after the configuration.
    • Constructor Detail

      • SysPropConfigSource

        public SysPropConfigSource()
    • 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
      • getValue

        public String getValue​(String propertyName)
        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
      • getOrdinal

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