onApplicationEvent() — spring-boot Function Reference
Architecture documentation for the onApplicationEvent() function in DockerComposeListener.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 4333bedd_b466_5258_b46a_4fc92a4e4406["onApplicationEvent()"] 8c4757c3_25d9_25d6_91cc_5f9f3f8ef50d["onApplicationEvent()"] 4333bedd_b466_5258_b46a_4fc92a4e4406 -->|calls| 8c4757c3_25d9_25d6_91cc_5f9f3f8ef50d c90d60de_6e4d_b157_5121_acbc78d427f0["get()"] 4333bedd_b466_5258_b46a_4fc92a4e4406 -->|calls| c90d60de_6e4d_b157_5121_acbc78d427f0 ab7d7a5d_2b51_950c_9190_353313bf7e19["getListeners()"] 4333bedd_b466_5258_b46a_4fc92a4e4406 -->|calls| ab7d7a5d_2b51_950c_9190_353313bf7e19 8f071992_e10d_aeb5_b3cc_8de83127aca9["createDockerComposeLifecycleManager()"] 4333bedd_b466_5258_b46a_4fc92a4e4406 -->|calls| 8f071992_e10d_aeb5_b3cc_8de83127aca9 78f2c659_7dab_51ec_5820_d1f66f9fbba7["getApplicationContext()"] 4333bedd_b466_5258_b46a_4fc92a4e4406 -->|calls| 78f2c659_7dab_51ec_5820_d1f66f9fbba7 style 4333bedd_b466_5258_b46a_4fc92a4e4406 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot-docker-compose/src/main/java/org/springframework/boot/docker/compose/lifecycle/DockerComposeListener.java lines 47–54
@Override
public void onApplicationEvent(ApplicationPreparedEvent event) {
ConfigurableApplicationContext applicationContext = event.getApplicationContext();
Binder binder = Binder.get(applicationContext.getEnvironment());
DockerComposeProperties properties = DockerComposeProperties.get(binder);
Set<ApplicationListener<?>> eventListeners = event.getSpringApplication().getListeners();
createDockerComposeLifecycleManager(applicationContext, binder, properties, eventListeners).start();
}
Domain
Subdomains
Calls
- createDockerComposeLifecycleManager()
- get()
- getApplicationContext()
- getListeners()
- onApplicationEvent()
Source
Frequently Asked Questions
What does onApplicationEvent() do?
onApplicationEvent() is a function in the spring-boot codebase.
What does onApplicationEvent() call?
onApplicationEvent() calls 5 function(s): createDockerComposeLifecycleManager, get, getApplicationContext, getListeners, onApplicationEvent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free