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

loadWhenConstructorUsedInBeanMethodAndNotAsConstructorBinding() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  06019678_da95_efb5_4289_372f34c86e36["loadWhenConstructorUsedInBeanMethodAndNotAsConstructorBinding()"]
  05d207ba_cdfc_1f3b_359f_89b70a0aec4e["load()"]
  06019678_da95_efb5_4289_372f34c86e36 -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  0df7b061_011e_9168_7210_507cd83a1019["getOne()"]
  06019678_da95_efb5_4289_372f34c86e36 -->|calls| 0df7b061_011e_9168_7210_507cd83a1019
  c19839ce_f714_7dfb_4b51_028045c23e05["getTwo()"]
  06019678_da95_efb5_4289_372f34c86e36 -->|calls| c19839ce_f714_7dfb_4b51_028045c23e05
  style 06019678_da95_efb5_4289_372f34c86e36 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	@Test // gh-33710
	void loadWhenConstructorUsedInBeanMethodAndNotAsConstructorBinding() {
		load(ConstructorUsedInBeanMethodConfiguration.class, "test.two=bound-2");
		ConstructorUsedDirectly bean = this.context.getBean(ConstructorUsedDirectly.class);
		assertThat(bean.getOne()).isEqualTo("bean-method-1");
		assertThat(bean.getTwo()).isEqualTo("bound-2");
	}

Domain

Subdomains

Frequently Asked Questions

What does loadWhenConstructorUsedInBeanMethodAndNotAsConstructorBinding() do?
loadWhenConstructorUsedInBeanMethodAndNotAsConstructorBinding() is a function in the spring-boot codebase.
What does loadWhenConstructorUsedInBeanMethodAndNotAsConstructorBinding() call?
loadWhenConstructorUsedInBeanMethodAndNotAsConstructorBinding() calls 3 function(s): getOne, getTwo, load.

Analyze Your Own Codebase

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

Try Supermodel Free