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

aotContributedInitializerBindsJavaBean() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  3d82043b_3d56_f6df_0c44_2e925cdc597d["aotContributedInitializerBindsJavaBean()"]
  6618d3a9_ddb1_239d_57b4_ec3e825ef29e["compile()"]
  3d82043b_3d56_f6df_0c44_2e925cdc597d -->|calls| 6618d3a9_ddb1_239d_57b4_ec3e825ef29e
  5c73e6f2_8975_0b4d_3e5c_cb8bfa7770e3["createContext()"]
  3d82043b_3d56_f6df_0c44_2e925cdc597d -->|calls| 5c73e6f2_8975_0b4d_3e5c_cb8bfa7770e3
  831b6bb0_e621_1c66_48e9_ed954439978a["getName()"]
  3d82043b_3d56_f6df_0c44_2e925cdc597d -->|calls| 831b6bb0_e621_1c66_48e9_ed954439978a
  style 3d82043b_3d56_f6df_0c44_2e925cdc597d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	@Test
	@CompileWithForkedClassLoader
	void aotContributedInitializerBindsJavaBean() {
		compile(createContext(), (freshContext) -> {
			TestPropertySourceUtils.addInlinedPropertiesToEnvironment(freshContext, "test.name=Hello");
			freshContext.refresh();
			JavaBeanSampleBean bean = freshContext.getBean(JavaBeanSampleBean.class);
			assertThat(bean.getName()).isEqualTo("Hello");
		});
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free