applicationRunningEventListener() — spring-boot Function Reference
Architecture documentation for the applicationRunningEventListener() function in SpringApplicationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD eaff1601_c92f_1525_d1d9_2bad09cb1564["applicationRunningEventListener()"] 2617d46d_c367_35a8_17cf_64149ca9953a["addListener()"] eaff1601_c92f_1525_d1d9_2bad09cb1564 -->|calls| 2617d46d_c367_35a8_17cf_64149ca9953a 7094e802_5500_9761_ce37_e0e114c8c023["getSpringApplication()"] eaff1601_c92f_1525_d1d9_2bad09cb1564 -->|calls| 7094e802_5500_9761_ce37_e0e114c8c023 3613e214_49bf_015b_c43f_7f8a1274fb0b["run()"] eaff1601_c92f_1525_d1d9_2bad09cb1564 -->|calls| 3613e214_49bf_015b_c43f_7f8a1274fb0b style eaff1601_c92f_1525_d1d9_2bad09cb1564 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java lines 364–373
@Test
void applicationRunningEventListener() {
SpringApplication application = new SpringApplication(ExampleConfig.class);
application.setWebApplicationType(WebApplicationType.NONE);
AtomicReference<ApplicationReadyEvent> reference = addListener(application, ApplicationReadyEvent.class);
this.context = application.run("--foo=bar");
ApplicationReadyEvent event = reference.get();
assertThat(event).isNotNull();
assertThat(application).isSameAs(event.getSpringApplication());
}
Domain
Subdomains
Calls
- addListener()
- getSpringApplication()
- run()
Source
Frequently Asked Questions
What does applicationRunningEventListener() do?
applicationRunningEventListener() is a function in the spring-boot codebase.
What does applicationRunningEventListener() call?
applicationRunningEventListener() calls 3 function(s): addListener, getSpringApplication, run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free