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

createContext() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  5c73e6f2_8975_0b4d_3e5c_cb8bfa7770e3["createContext()"]
  ce858383_5c22_6030_924a_be9a824a92ab["aotContributedInitializerBindsValueObject()"]
  ce858383_5c22_6030_924a_be9a824a92ab -->|calls| 5c73e6f2_8975_0b4d_3e5c_cb8bfa7770e3
  a3cb4e31_e065_846b_1395_d9529fc251bb["aotContributedInitializerBindsValueObjectWithSpecificConstructor()"]
  a3cb4e31_e065_846b_1395_d9529fc251bb -->|calls| 5c73e6f2_8975_0b4d_3e5c_cb8bfa7770e3
  3d82043b_3d56_f6df_0c44_2e925cdc597d["aotContributedInitializerBindsJavaBean()"]
  3d82043b_3d56_f6df_0c44_2e925cdc597d -->|calls| 5c73e6f2_8975_0b4d_3e5c_cb8bfa7770e3
  fb87ec2a_2a2a_6f4e_ae3e_5522c24e7688["aotContributedInitializerBindsScannedValueObject()"]
  fb87ec2a_2a2a_6f4e_ae3e_5522c24e7688 -->|calls| 5c73e6f2_8975_0b4d_3e5c_cb8bfa7770e3
  eba418e4_a5de_8a5c_654e_1893f0c64980["aotContributedInitializerBindsScannedJavaBean()"]
  eba418e4_a5de_8a5c_654e_1893f0c64980 -->|calls| 5c73e6f2_8975_0b4d_3e5c_cb8bfa7770e3
  style 5c73e6f2_8975_0b4d_3e5c_cb8bfa7770e3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	private GenericApplicationContext createContext(Class<?>... types) {
		GenericApplicationContext context = new AnnotationConfigApplicationContext();
		context.registerBean(JavaBeanSampleBeanConfiguration.class);
		Arrays.stream(types).forEach((type) -> context.registerBean(type));
		return context;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does createContext() do?
createContext() is a function in the spring-boot codebase.
What calls createContext()?
createContext() is called by 5 function(s): aotContributedInitializerBindsJavaBean, aotContributedInitializerBindsScannedJavaBean, aotContributedInitializerBindsScannedValueObject, aotContributedInitializerBindsValueObject, aotContributedInitializerBindsValueObjectWithSpecificConstructor.

Analyze Your Own Codebase

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

Try Supermodel Free