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

getAllSources() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 1 called by 4

Entity Profile

Dependency Diagram

graph TD
  054bafb8_44ed_70f9_eaad_e693eb9d86e1["getAllSources()"]
  6effd0c4_0207_6697_e91b_d163c77a8757["prepareContext()"]
  6effd0c4_0207_6697_e91b_d163c77a8757 -->|calls| 054bafb8_44ed_70f9_eaad_e693eb9d86e1
  6de23dd6_ba39_4c8b_2378_eb7c00e92ed5["createRootApplicationContext()"]
  6de23dd6_ba39_4c8b_2378_eb7c00e92ed5 -->|calls| 054bafb8_44ed_70f9_eaad_e693eb9d86e1
  0eb51398_566f_165f_7929_f1c784f463c5["withConfigurationAnnotation()"]
  0eb51398_566f_165f_7929_f1c784f463c5 -->|calls| 054bafb8_44ed_70f9_eaad_e693eb9d86e1
  2dc4d159_826e_c397_43fd_28923209671c["withConfiguredSource()"]
  2dc4d159_826e_c397_43fd_28923209671c -->|calls| 054bafb8_44ed_70f9_eaad_e693eb9d86e1
  db47a39e_7c4b_c99f_ab5f_6bb4eaded01d["getSources()"]
  054bafb8_44ed_70f9_eaad_e693eb9d86e1 -->|calls| db47a39e_7c4b_c99f_ab5f_6bb4eaded01d
  style 054bafb8_44ed_70f9_eaad_e693eb9d86e1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java lines 1189–1198

	public Set<Object> getAllSources() {
		Set<Object> allSources = new LinkedHashSet<>();
		if (!CollectionUtils.isEmpty(this.primarySources)) {
			allSources.addAll(this.primarySources);
		}
		if (!CollectionUtils.isEmpty(this.properties.getSources())) {
			allSources.addAll(this.properties.getSources());
		}
		return Collections.unmodifiableSet(allSources);
	}

Domain

Subdomains

Calls

  • getSources()

Called By

Frequently Asked Questions

What does getAllSources() do?
getAllSources() is a function in the spring-boot codebase.
What does getAllSources() call?
getAllSources() calls 1 function(s): getSources.
What calls getAllSources()?
getAllSources() is called by 4 function(s): createRootApplicationContext, prepareContext, withConfigurationAnnotation, withConfiguredSource.

Analyze Your Own Codebase

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

Try Supermodel Free