Uses of Interface
org.confng.sources.ConfigSource
-
Packages that use ConfigSource Package Description org.confng org.confng.internal org.confng.sources -
-
Uses of ConfigSource in org.confng
Methods in org.confng with parameters of type ConfigSource Modifier and Type Method Description static voidConfNG. addSource(ConfigSource source)Adds a configuration source with automatic priority-based ordering.static voidConfNG. loadSecretSource(ConfigSource source)Loads a custom secret source.static voidConfNG. registerSource(ConfigSource source)static voidConfNG. registerSourceAt(int precedenceIndex, ConfigSource source) -
Uses of ConfigSource in org.confng.internal
Method parameters in org.confng.internal with type arguments of type ConfigSource Modifier and Type Method Description static voidConfigLoader. load(String filePath, String environment, Consumer<ConfigSource> sourceRegistrar)Loads a configuration file with environment-specific section.static voidConfigLoader. load(String filePath, Consumer<ConfigSource> sourceRegistrar)Loads a configuration file by auto-detecting its type based on the file extension.static voidConfigLoader. loadJson(String filePath, String environment, Consumer<ConfigSource> sourceRegistrar)Loads a JSON file.static voidConfigLoader. loadProperties(String filePath, Consumer<ConfigSource> sourceRegistrar)Loads a properties file.static voidConfigLoader. loadToml(String filePath, String environment, Consumer<ConfigSource> sourceRegistrar)Loads a TOML file.static voidConfigLoader. loadYaml(String filePath, String environment, Consumer<ConfigSource> sourceRegistrar)Loads a YAML file.Constructor parameters in org.confng.internal with type arguments of type ConfigSource Constructor Description ConfigResolver(Supplier<List<ConfigSource>> sourcesSupplier, Supplier<List<ConfNGKey>> keyDiscoverer) -
Uses of ConfigSource in org.confng.sources
Classes in org.confng.sources that implement ConfigSource Modifier and Type Class Description classAbstractFileConfigSource<T>Abstract base class for file-based configuration sources.classConsulConfigSourceConfiguration source that fetches configuration from HashiCorp Consul KV store.classEnvSourceConfiguration source that reads from environment variables.classHttpConfigSourceConfiguration source that fetches configuration from HTTP/REST endpoints.classJsonSourceConfiguration source that reads from JSON files.classPropertiesSourceConfiguration source that reads from Java properties files.classSecretManagerSourceAbstract base class for secret manager implementations.classSpringCloudConfigSourceConfiguration source that fetches configuration from Spring Cloud Config Server.classSystemPropertySourceConfiguration source that reads from Java system properties.classTestNGParameterSourceConfiguration source that provides values from TestNG parameters.classTomlSourceConfiguration source that reads from TOML files.classYamlSourceConfiguration source that reads from YAML files.
-