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

getListeners() — spring-boot Function Reference

Architecture documentation for the getListeners() function in SpringApplication.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 1 called by 5

Entity Profile

Dependency Diagram

graph TD
  ab7d7a5d_2b51_950c_9190_353313bf7e19["getListeners()"]
  e9cf57fa_c896_8c00_89bc_614423cd292b["contextLoaded()"]
  e9cf57fa_c896_8c00_89bc_614423cd292b -->|calls| ab7d7a5d_2b51_950c_9190_353313bf7e19
  5c3a7fa8_6fb3_44d1_aaa4_30b6e8299a76["refreshApplicationListeners()"]
  5c3a7fa8_6fb3_44d1_aaa4_30b6e8299a76 -->|calls| ab7d7a5d_2b51_950c_9190_353313bf7e19
  ba6fef92_1e35_fe47_1949_f3b5d0049f8b["shouldPublishLifecycleEvents()"]
  ba6fef92_1e35_fe47_1949_f3b5d0049f8b -->|calls| ab7d7a5d_2b51_950c_9190_353313bf7e19
  9852c5a3_5ec1_6a92_df81_1e5047b0342d["cleanupOccursAfterWebServerShutdown()"]
  9852c5a3_5ec1_6a92_df81_1e5047b0342d -->|calls| ab7d7a5d_2b51_950c_9190_353313bf7e19
  4333bedd_b466_5258_b46a_4fc92a4e4406["onApplicationEvent()"]
  4333bedd_b466_5258_b46a_4fc92a4e4406 -->|calls| ab7d7a5d_2b51_950c_9190_353313bf7e19
  5b1756e9_7b87_ebd3_ea25_d6a4a2cd1e1d["asUnmodifiableOrderedSet()"]
  ab7d7a5d_2b51_950c_9190_353313bf7e19 -->|calls| 5b1756e9_7b87_ebd3_ea25_d6a4a2cd1e1d
  style ab7d7a5d_2b51_950c_9190_353313bf7e19 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java lines 1293–1295

	public Set<ApplicationListener<?>> getListeners() {
		return asUnmodifiableOrderedSet(this.listeners);
	}

Domain

Subdomains

Calls

  • asUnmodifiableOrderedSet()

Frequently Asked Questions

What does getListeners() do?
getListeners() is a function in the spring-boot codebase.
What does getListeners() call?
getListeners() calls 1 function(s): asUnmodifiableOrderedSet.
What calls getListeners()?
getListeners() is called by 5 function(s): cleanupOccursAfterWebServerShutdown, contextLoaded, onApplicationEvent, refreshApplicationListeners, shouldPublishLifecycleEvents.

Analyze Your Own Codebase

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

Try Supermodel Free