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

listeners() — spring-boot Function Reference

Architecture documentation for the listeners() function in SpringApplicationBuilder.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  3b5ce68c_2b5f_b508_6e6a_e382ec1495f5["listeners()"]
  6de23dd6_ba39_4c8b_2378_eb7c00e92ed5["createRootApplicationContext()"]
  6de23dd6_ba39_4c8b_2378_eb7c00e92ed5 -->|calls| 3b5ce68c_2b5f_b508_6e6a_e382ec1495f5
  7df18ae5_4388_cf89_197e_0eb635b31cfa["loggingPerformedDuringChildApplicationStartIsNotLost()"]
  7df18ae5_4388_cf89_197e_0eb635b31cfa -->|calls| 3b5ce68c_2b5f_b508_6e6a_e382ec1495f5
  8167a998_f1fd_9e15_e950_40dfcfa92165["configure()"]
  8167a998_f1fd_9e15_e950_40dfcfa92165 -->|calls| 3b5ce68c_2b5f_b508_6e6a_e382ec1495f5
  0323724f_be4b_210b_5a14_3dfe10f6563b["addListeners()"]
  3b5ce68c_2b5f_b508_6e6a_e382ec1495f5 -->|calls| 0323724f_be4b_210b_5a14_3dfe10f6563b
  style 3b5ce68c_2b5f_b508_6e6a_e382ec1495f5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java lines 580–583

	public SpringApplicationBuilder listeners(ApplicationListener<?>... listeners) {
		this.application.addListeners(listeners);
		return this;
	}

Domain

Subdomains

Frequently Asked Questions

What does listeners() do?
listeners() is a function in the spring-boot codebase.
What does listeners() call?
listeners() calls 1 function(s): addListeners.
What calls listeners()?
listeners() is called by 3 function(s): configure, createRootApplicationContext, loggingPerformedDuringChildApplicationStartIsNotLost.

Analyze Your Own Codebase

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

Try Supermodel Free