Interface MpMetaConfigProvider

All Known Implementing Classes:
HoconMpMetaConfigProvider, OciSecretsMpMetaConfigProvider, YamlMetaConfigProvider

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

    Modifier and Type
    Method
    Description
    List<? extends ConfigSource>
    create(String type, Config metaConfig, String profile)
    Create a list of configuration sources from a meta-config type.
    Set of supported types for a MicroProfile meta-config provider.
  • 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