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

processAndApply() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  29c97804_46ca_38e2_45f8_a0bee530b831["processAndApply()"]
  b00dfbb2_c729_21f6_face_a7f3d16b31a1["registerBootstrapBinder()"]
  29c97804_46ca_38e2_45f8_a0bee530b831 -->|calls| b00dfbb2_c729_21f6_face_a7f3d16b31a1
  4feb8141_35ed_3eab_7acc_98fbb62f3900["processInitial()"]
  29c97804_46ca_38e2_45f8_a0bee530b831 -->|calls| 4feb8141_35ed_3eab_7acc_98fbb62f3900
  8566f945_0c60_2376_5ebe_7630cbe5e782["createActivationContext()"]
  29c97804_46ca_38e2_45f8_a0bee530b831 -->|calls| 8566f945_0c60_2376_5ebe_7630cbe5e782
  5f0c1c36_012f_880d_d499_3a02c8f8dab2["getBinder()"]
  29c97804_46ca_38e2_45f8_a0bee530b831 -->|calls| 5f0c1c36_012f_880d_d499_3a02c8f8dab2
  b6b93d7d_be21_8548_817c_8c65528bb1c4["processWithoutProfiles()"]
  29c97804_46ca_38e2_45f8_a0bee530b831 -->|calls| b6b93d7d_be21_8548_817c_8c65528bb1c4
  b51c4ada_4659_cf4b_db08_796eaec2c765["withProfiles()"]
  29c97804_46ca_38e2_45f8_a0bee530b831 -->|calls| b51c4ada_4659_cf4b_db08_796eaec2c765
  d3acf9b4_bf2c_e7f2_c9cc_4e79964143c5["processWithProfiles()"]
  29c97804_46ca_38e2_45f8_a0bee530b831 -->|calls| d3acf9b4_bf2c_e7f2_c9cc_4e79964143c5
  6bf1d36b_5089_07ea_774b_3c44b3f1346c["applyToEnvironment()"]
  29c97804_46ca_38e2_45f8_a0bee530b831 -->|calls| 6bf1d36b_5089_07ea_774b_3c44b3f1346c
  style 29c97804_46ca_38e2_45f8_a0bee530b831 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	void processAndApply() {
		ConfigDataImporter importer = new ConfigDataImporter(this.logFactory, this.notFoundAction, this.resolvers,
				this.loaders);
		registerBootstrapBinder(this.contributors, null, DENY_INACTIVE_BINDING);
		ConfigDataEnvironmentContributors contributors = processInitial(this.contributors, importer);
		ConfigDataActivationContext activationContext = createActivationContext(
				contributors.getBinder(null, BinderOption.FAIL_ON_BIND_TO_INACTIVE_SOURCE));
		contributors = processWithoutProfiles(contributors, importer, activationContext);
		activationContext = withProfiles(contributors, activationContext);
		contributors = processWithProfiles(contributors, importer, activationContext);
		applyToEnvironment(contributors, activationContext, importer.getLoadedLocations(),
				importer.getOptionalLocations());
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does processAndApply() do?
processAndApply() is a function in the spring-boot codebase.
What does processAndApply() call?
processAndApply() calls 8 function(s): applyToEnvironment, createActivationContext, getBinder, processInitial, processWithProfiles, processWithoutProfiles, registerBootstrapBinder, withProfiles.

Analyze Your Own Codebase

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

Try Supermodel Free