Class PersistedConfigSource

java.lang.Object
io.smallrye.config.common.AbstractConfigSource
io.smallrye.config.MapBackedConfigValueConfigSource
io.smallrye.config.PropertiesConfigSource
org.keycloak.quarkus.runtime.configuration.PersistedConfigSource
All Implemented Interfaces:
io.smallrye.config.ConfigValueConfigSource, Serializable, org.eclipse.microprofile.config.spi.ConfigSource

public final class PersistedConfigSource extends io.smallrye.config.PropertiesConfigSource
A ConfigSource based on the configuration properties persisted into the server image.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.smallrye.config.ConfigValueConfigSource

    io.smallrye.config.ConfigValueConfigSource.ConfigValueMapStringView, io.smallrye.config.ConfigValueConfigSource.ConfigValueMapView, io.smallrye.config.ConfigValueConfigSource.ConfigValueProperties
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

    Fields inherited from interface org.eclipse.microprofile.config.spi.ConfigSource

    CONFIG_ORDINAL, DEFAULT_ORDINAL
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    io.smallrye.config.ConfigValue
    getConfigValue(String propertyName)
     
     
     
     
    <T> T
    runWithDisabled(Supplier<T> execution)
     

    Methods inherited from class io.smallrye.config.PropertiesConfigSource

    urlToConfigValueMap

    Methods inherited from class io.smallrye.config.MapBackedConfigValueConfigSource

    getConfigValueProperties

    Methods inherited from class io.smallrye.config.common.AbstractConfigSource

    getOrdinal, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.microprofile.config.spi.ConfigSource

    getOrdinal

    Methods inherited from interface io.smallrye.config.ConfigValueConfigSource

    getProperties, getValue
  • Field Details

  • Method Details

    • getInstance

      public static PersistedConfigSource getInstance()
    • getName

      public String getName()
      Specified by:
      getName in interface org.eclipse.microprofile.config.spi.ConfigSource
      Overrides:
      getName in class io.smallrye.config.common.AbstractConfigSource
    • getConfigValue

      public io.smallrye.config.ConfigValue getConfigValue(String propertyName)
      Specified by:
      getConfigValue in interface io.smallrye.config.ConfigValueConfigSource
      Overrides:
      getConfigValue in class io.smallrye.config.MapBackedConfigValueConfigSource
    • getPropertyNames

      public Set<String> getPropertyNames()
      Specified by:
      getPropertyNames in interface org.eclipse.microprofile.config.spi.ConfigSource
      Overrides:
      getPropertyNames in class io.smallrye.config.MapBackedConfigValueConfigSource
    • enable

      public void enable()
    • disable

      public void disable()
    • runWithDisabled

      public <T> T runWithDisabled(Supplier<T> execution)