-
- All Known Implementing Classes:
HoconMpMetaConfigProvider
,YamlMetaConfigProvider
public interface MpMetaConfigProvider
Java Service loader interface for Meta-config providers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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<String>
supportedTypes()
Set of supported types for a MicroProfile meta-config provider.
-
-
-
Method Detail
-
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 sourcemetaConfig
- configuration properties of a meta-config typeprofile
- name of the profile to use or null if not used- Returns:
- list of config sources
-
-