parentContextIdentical() — spring-boot Function Reference
Architecture documentation for the parentContextIdentical() function in SpringApplicationBuilderTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 30b3a47a_8b84_3c82_942f_93c44024b7c3["parentContextIdentical()"] 97fa5b9e_b816_70bd_8828_99b67bc8530a["getApplicationContext()"] 30b3a47a_8b84_3c82_942f_93c44024b7c3 -->|calls| 97fa5b9e_b816_70bd_8828_99b67bc8530a 6e5afbf2_5ca2_d18c_1a56_76eb4b8b8221["setParent()"] 30b3a47a_8b84_3c82_942f_93c44024b7c3 -->|calls| 6e5afbf2_5ca2_d18c_1a56_76eb4b8b8221 f5ecfeee_2faa_bfff_05c7_ad8e17034d42["run()"] 30b3a47a_8b84_3c82_942f_93c44024b7c3 -->|calls| f5ecfeee_2faa_bfff_05c7_ad8e17034d42 style 30b3a47a_8b84_3c82_942f_93c44024b7c3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/builder/SpringApplicationBuilderTests.java lines 280–288
@Test
void parentContextIdentical() {
SpringApplicationBuilder application = new SpringApplicationBuilder(ExampleConfig.class);
application.parent(ExampleConfig.class);
application.contextFactory(ApplicationContextFactory.ofContextClass(SpyApplicationContext.class));
this.context = application.run();
then(((SpyApplicationContext) this.context).getApplicationContext()).should()
.setParent(any(ApplicationContext.class));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does parentContextIdentical() do?
parentContextIdentical() is a function in the spring-boot codebase.
What does parentContextIdentical() call?
parentContextIdentical() calls 3 function(s): getApplicationContext, run, setParent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free