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

aotContributedInitializerBindsScannedJavaBean() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  eba418e4_a5de_8a5c_654e_1893f0c64980["aotContributedInitializerBindsScannedJavaBean()"]
  6618d3a9_ddb1_239d_57b4_ec3e825ef29e["compile()"]
  eba418e4_a5de_8a5c_654e_1893f0c64980 -->|calls| 6618d3a9_ddb1_239d_57b4_ec3e825ef29e
  5c73e6f2_8975_0b4d_3e5c_cb8bfa7770e3["createContext()"]
  eba418e4_a5de_8a5c_654e_1893f0c64980 -->|calls| 5c73e6f2_8975_0b4d_3e5c_cb8bfa7770e3
  329ae746_bd1a_d331_9cef_4daf116b303c["getNumber()"]
  eba418e4_a5de_8a5c_654e_1893f0c64980 -->|calls| 329ae746_bd1a_d331_9cef_4daf116b303c
  style eba418e4_a5de_8a5c_654e_1893f0c64980 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesBeanRegistrationAotProcessorTests.java lines 140–149

	@Test
	@CompileWithForkedClassLoader
	void aotContributedInitializerBindsScannedJavaBean() {
		compile(createContext(ScanTestConfiguration.class), (freshContext) -> {
			TestPropertySourceUtils.addInlinedPropertiesToEnvironment(freshContext, "b.second.number=42");
			freshContext.refresh();
			BSecondProperties bean = freshContext.getBean(BSecondProperties.class);
			assertThat(bean.getNumber()).isEqualTo(42);
		});
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does aotContributedInitializerBindsScannedJavaBean() do?
aotContributedInitializerBindsScannedJavaBean() is a function in the spring-boot codebase.
What does aotContributedInitializerBindsScannedJavaBean() call?
aotContributedInitializerBindsScannedJavaBean() calls 3 function(s): compile, createContext, getNumber.

Analyze Your Own Codebase

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

Try Supermodel Free