initializersCreatedOnceForChild() — spring-boot Function Reference
Architecture documentation for the initializersCreatedOnceForChild() function in SpringApplicationBuilderTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD d28e6957_4834_cee9_9dd5_1a07ba1f1778["initializersCreatedOnceForChild()"] 3dc59be6_081a_34fd_0727_a7b4669b8750["assertThat()"] d28e6957_4834_cee9_9dd5_1a07ba1f1778 -->|calls| 3dc59be6_081a_34fd_0727_a7b4669b8750 0e01e74c_b78d_7cb6_4236_a7a3c9e8c95a["getInitializers()"] d28e6957_4834_cee9_9dd5_1a07ba1f1778 -->|calls| 0e01e74c_b78d_7cb6_4236_a7a3c9e8c95a f5ecfeee_2faa_bfff_05c7_ad8e17034d42["run()"] d28e6957_4834_cee9_9dd5_1a07ba1f1778 -->|calls| f5ecfeee_2faa_bfff_05c7_ad8e17034d42 style d28e6957_4834_cee9_9dd5_1a07ba1f1778 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/builder/SpringApplicationBuilderTests.java lines 298–305
@Test
void initializersCreatedOnceForChild() {
SpringApplicationBuilder application = new SpringApplicationBuilder(ExampleConfig.class)
.child(ChildConfig.class)
.web(WebApplicationType.NONE);
this.context = application.run();
assertThat(application.application().getInitializers()).hasSize(4);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does initializersCreatedOnceForChild() do?
initializersCreatedOnceForChild() is a function in the spring-boot codebase.
What does initializersCreatedOnceForChild() call?
initializersCreatedOnceForChild() calls 3 function(s): assertThat, getInitializers, run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free