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

load() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6bbdfb20_4c2c_4277_8a0c_01d964c5917a["load()"]
  ddd6866c_efb0_5436_7db7_7da95c9f4e61["scanImportBeanRegistrarShouldBeEnvironmentAwareWithRequiredProfile()"]
  ddd6866c_efb0_5436_7db7_7da95c9f4e61 -->|calls| 6bbdfb20_4c2c_4277_8a0c_01d964c5917a
  df0b25b0_b2d8_859e_e49d_d8a8f20be605["scanImportBeanRegistrarShouldBeEnvironmentAwareWithoutRequiredProfile()"]
  df0b25b0_b2d8_859e_e49d_d8a8f20be605 -->|calls| 6bbdfb20_4c2c_4277_8a0c_01d964c5917a
  43b8c058_5880_0937_8e9b_77162b546404["scanImportBeanRegistrarShouldBeResourceLoaderAwareWithRequiredResource()"]
  43b8c058_5880_0937_8e9b_77162b546404 -->|calls| 6bbdfb20_4c2c_4277_8a0c_01d964c5917a
  10935e94_0ac4_3487_bac2_656da9afbf18["scanImportBeanRegistrarShouldBeResourceLoaderAwareWithoutRequiredResource()"]
  10935e94_0ac4_3487_bac2_656da9afbf18 -->|calls| 6bbdfb20_4c2c_4277_8a0c_01d964c5917a
  50bddc28_0d9e_85d5_5575_9ccf8adb34f0["scanImportBeanRegistrarShouldUsePackageName()"]
  50bddc28_0d9e_85d5_5575_9ccf8adb34f0 -->|calls| 6bbdfb20_4c2c_4277_8a0c_01d964c5917a
  080d340c_3518_cf23_6cc5_b07232758873["scanShouldBindConfigurationProperties()"]
  080d340c_3518_cf23_6cc5_b07232758873 -->|calls| 6bbdfb20_4c2c_4277_8a0c_01d964c5917a
  style 6bbdfb20_4c2c_4277_8a0c_01d964c5917a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesScanTests.java lines 129–133

	private void load(Class<?> configuration, String... inlinedProperties) {
		this.context.register(configuration);
		TestPropertySourceUtils.addInlinedPropertiesToEnvironment(this.context, inlinedProperties);
		this.context.refresh();
	}

Domain

Subdomains

Called By

  • scanImportBeanRegistrarShouldBeEnvironmentAwareWithRequiredProfile()
  • scanImportBeanRegistrarShouldBeEnvironmentAwareWithoutRequiredProfile()
  • scanImportBeanRegistrarShouldBeResourceLoaderAwareWithRequiredResource()
  • scanImportBeanRegistrarShouldBeResourceLoaderAwareWithoutRequiredResource()
  • scanImportBeanRegistrarShouldUsePackageName()
  • scanShouldBindConfigurationProperties()

Frequently Asked Questions

What does load() do?
load() is a function in the spring-boot codebase.
What calls load()?
load() is called by 6 function(s): scanImportBeanRegistrarShouldBeEnvironmentAwareWithRequiredProfile, scanImportBeanRegistrarShouldBeEnvironmentAwareWithoutRequiredProfile, scanImportBeanRegistrarShouldBeResourceLoaderAwareWithRequiredResource, scanImportBeanRegistrarShouldBeResourceLoaderAwareWithoutRequiredResource, scanImportBeanRegistrarShouldUsePackageName, scanShouldBindConfigurationProperties.

Analyze Your Own Codebase

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

Try Supermodel Free