Home / Function/ ConfigDataEnvironment() — spring-boot Function Reference

ConfigDataEnvironment() — spring-boot Function Reference

Architecture documentation for the ConfigDataEnvironment() function in ConfigDataEnvironment.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  1c0f4959_8082_4cc4_44ff_ee77e50ffeb0["ConfigDataEnvironment()"]
  c90d60de_6e4d_b157_5121_acbc78d427f0["get()"]
  1c0f4959_8082_4cc4_44ff_ee77e50ffeb0 -->|calls| c90d60de_6e4d_b157_5121_acbc78d427f0
  8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"]
  1c0f4959_8082_4cc4_44ff_ee77e50ffeb0 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3
  c73c92b1_20af_3ff4_d0a5_25ffa9b6847a["createConfigDataLocationResolvers()"]
  1c0f4959_8082_4cc4_44ff_ee77e50ffeb0 -->|calls| c73c92b1_20af_3ff4_d0a5_25ffa9b6847a
  e6c17bc9_c46f_95d4_a7e6_3cece64e3ea3["createContributors()"]
  1c0f4959_8082_4cc4_44ff_ee77e50ffeb0 -->|calls| e6c17bc9_c46f_95d4_a7e6_3cece64e3ea3
  style 1c0f4959_8082_4cc4_44ff_ee77e50ffeb0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataEnvironment.java lines 140–157

	ConfigDataEnvironment(DeferredLogFactory logFactory, ConfigurableBootstrapContext bootstrapContext,
			ConfigurableEnvironment environment, ResourceLoader resourceLoader, Collection<String> additionalProfiles,
			@Nullable ConfigDataEnvironmentUpdateListener environmentUpdateListener) {
		Binder binder = Binder.get(environment);
		this.logFactory = logFactory;
		this.logger = logFactory.getLog(getClass());
		this.notFoundAction = binder.bind(ON_NOT_FOUND_PROPERTY, ConfigDataNotFoundAction.class)
			.orElse(ConfigDataNotFoundAction.FAIL);
		this.bootstrapContext = bootstrapContext;
		this.environment = environment;
		this.resolvers = createConfigDataLocationResolvers(logFactory, bootstrapContext, binder, resourceLoader);
		this.additionalProfiles = additionalProfiles;
		this.environmentUpdateListener = (environmentUpdateListener != null) ? environmentUpdateListener
				: ConfigDataEnvironmentUpdateListener.NONE;
		this.loaders = new ConfigDataLoaders(logFactory, bootstrapContext,
				SpringFactoriesLoader.forDefaultResourceLocation(resourceLoader.getClassLoader()));
		this.contributors = createContributors(binder);
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does ConfigDataEnvironment() do?
ConfigDataEnvironment() is a function in the spring-boot codebase.
What does ConfigDataEnvironment() call?
ConfigDataEnvironment() calls 4 function(s): bind, createConfigDataLocationResolvers, createContributors, get.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free