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

load() — spring-boot Function Reference

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

Function java GradlePlugin AotProcessing calls 2 called by 100

Entity Profile

Dependency Diagram

graph TD
  05d207ba_cdfc_1f3b_359f_89b70a0aec4e["load()"]
  709f51fb_64bf_1dd3_8723_aae1275e6b0e["loadShouldBind()"]
  709f51fb_64bf_1dd3_8723_aae1275e6b0e -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  4a3c34a2_7fe6_25cc_d7e3_a76dc0020701["loadShouldBindNested()"]
  4a3c34a2_7fe6_25cc_d7e3_a76dc0020701 -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  9f1c4195_032c_9fa7_79a2_c15c9fff068a["loadWhenUsingSystemPropertiesShouldBind()"]
  9f1c4195_032c_9fa7_79a2_c15c9fff068a -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  e37f2226_c462_5c89_c485_37fd5253d9cb["loadWhenUsingSystemPropertiesShouldBindNested()"]
  e37f2226_c462_5c89_c485_37fd5253d9cb -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  85dfae9f_96f7_fb46_d17b_c49f1f4ac3c1["loadWhenHasIgnoreUnknownFieldsFalseAndNoUnknownFieldsShouldBind()"]
  85dfae9f_96f7_fb46_d17b_c49f1f4ac3c1 -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  a73733e9_d5ff_87db_62b1_25a3049b7838["loadWhenHasIgnoreUnknownFieldsFalseAndUnknownFieldsShouldFail()"]
  a73733e9_d5ff_87db_62b1_25a3049b7838 -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  3eb10079_003f_03d5_bde0_85f15a29c28f["givenIgnoreUnknownFieldsFalseAndIgnoreInvalidFieldsTrueWhenThereAreUnknownFieldsThenBindingShouldFail()"]
  3eb10079_003f_03d5_bde0_85f15a29c28f -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  1d071f2d_9e69_95e1_f611_a025a390744a["loadWhenHasIgnoreInvalidFieldsTrueAndInvalidFieldsShouldBind()"]
  1d071f2d_9e69_95e1_f611_a025a390744a -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  7b401f0a_6d2b_cd53_8505_b2b9916026af["loadWhenHasPrefixShouldBind()"]
  7b401f0a_6d2b_cd53_8505_b2b9916026af -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  f87fca6b_d3a9_1530_3bbd_cce42b3eba22["loadWhenPropertiesHaveAnnotationOnBaseClassShouldBind()"]
  f87fca6b_d3a9_1530_3bbd_cce42b3eba22 -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  f5544048_5774_af07_69ae_2eebd69488f0["loadWhenBindingArrayShouldBind()"]
  f5544048_5774_af07_69ae_2eebd69488f0 -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  67f13c48_4acb_000d_7f0d_5256f72e27fd["loadWhenBindingArrayFromYamlArrayShouldBind()"]
  67f13c48_4acb_000d_7f0d_5256f72e27fd -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  9442a887_62c1_d38b_ea74_fbb738521b95["loadWhenBindingOver256ElementsShouldBind()"]
  9442a887_62c1_d38b_ea74_fbb738521b95 -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  37e90756_188d_0ccc_9c3d_a6f264381d60["loadWhenBindingWithoutAndAnnotationShouldFail()"]
  37e90756_188d_0ccc_9c3d_a6f264381d60 -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  style 05d207ba_cdfc_1f3b_359f_89b70a0aec4e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesTests.java lines 1336–1338

	private AnnotationConfigApplicationContext load(Class<?> configuration, String... inlinedProperties) {
		return load(new Class<?>[] { configuration }, inlinedProperties);
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does load() do?
load() is a function in the spring-boot codebase.
What does load() call?
load() calls 2 function(s): load, refresh.
What calls load()?
load() is called by 100 function(s): bindToEnum, bindToEnumSet, boundPropertiesShouldBeRecorded, givenIgnoreUnknownFieldsFalseAndIgnoreInvalidFieldsTrueWhenThereAreUnknownFieldsThenBindingShouldFail, loadShouldBind, loadShouldBindNested, loadShouldBindToBeanWithGenerics, loadShouldBindToCharArray, and 92 more.

Analyze Your Own Codebase

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

Try Supermodel Free