Interface MpMetaConfigProvider

All Known Implementing Classes:
HoconMpMetaConfigProvider, OciSecretsMpMetaConfigProvider, YamlMetaConfigProvider

public interface MpMetaConfigProvider
Java Service loader interface for Meta-config providers.
  • Method Details

    • supportedTypes

      Set<String> supportedTypes()
      Set of supported types for a MicroProfile meta-config provider.
      Returns:
      meta-config provider types
    • create

      List<? extends ConfigSource> create(String type, Config metaConfig, String profile)
      Create a list of configuration sources from a meta-config type.
      Parameters:
      type - type of the config source
      metaConfig - configuration properties of a meta-config type
      profile - name of the profile to use or null if not used
      Returns:
      list of config sources
    • create

      default ConfigSource create(Reader content)
      Create the ConfigSource from the given content.
      Parameters:
      content - a reader with the content data
      Returns:
      config source