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

onApplicationEvent() — spring-boot Function Reference

Architecture documentation for the onApplicationEvent() function in ParentContextCloserApplicationListener.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  7608f4e6_8004_52e7_cbcf_54fc6961a592["onApplicationEvent()"]
  8b0ee5f4_88b2_edb5_8635_b93b0ae6d094["onApplicationEvent()"]
  8b0ee5f4_88b2_edb5_8635_b93b0ae6d094 -->|calls| 7608f4e6_8004_52e7_cbcf_54fc6961a592
  8b0ee5f4_88b2_edb5_8635_b93b0ae6d094["onApplicationEvent()"]
  7608f4e6_8004_52e7_cbcf_54fc6961a592 -->|calls| 8b0ee5f4_88b2_edb5_8635_b93b0ae6d094
  6edbc9f5_c5ad_6a73_58e2_c79d0e3ccffc["maybeInstallListenerInParent()"]
  7608f4e6_8004_52e7_cbcf_54fc6961a592 -->|calls| 6edbc9f5_c5ad_6a73_58e2_c79d0e3ccffc
  style 7608f4e6_8004_52e7_cbcf_54fc6961a592 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/builder/ParentContextCloserApplicationListener.java lines 58–61

	@Override
	public void onApplicationEvent(ParentContextAvailableEvent event) {
		maybeInstallListenerInParent(event.getApplicationContext());
	}

Domain

Subdomains

Calls

  • maybeInstallListenerInParent()
  • onApplicationEvent()

Called By

  • onApplicationEvent()

Frequently Asked Questions

What does onApplicationEvent() do?
onApplicationEvent() is a function in the spring-boot codebase.
What does onApplicationEvent() call?
onApplicationEvent() calls 2 function(s): maybeInstallListenerInParent, onApplicationEvent.
What calls onApplicationEvent()?
onApplicationEvent() is called by 1 function(s): onApplicationEvent.

Analyze Your Own Codebase

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

Try Supermodel Free