Interface NodeConfigSource

All Superinterfaces:
ConfigSource, Source, Supplier<ConfigSource>
All Known Implementing Classes:
ConfigSources.SystemPropertiesConfigSource, DirectoryConfigSource, MapConfigSource, PrefixedConfigSource, SecretBundleNodeConfigSource

public interface NodeConfigSource extends ConfigSource
An eager source that can read all data from the underlying origin as a configuration node.
  • Method Details

    • load

      Loads the underlying source data. This method is only called when the source Source.exists().

      The method can be invoked repeatedly, for example during retries.

      An instance of T as read from the underlying origin of the data (if it exists)
      ConfigException - in case of errors loading from the underlying origin