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

addPrimarySources() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  3b8969f2_1870_9992_b681_07000b6fab0a["addPrimarySources()"]
  f5ecfeee_2faa_bfff_05c7_ad8e17034d42["run()"]
  f5ecfeee_2faa_bfff_05c7_ad8e17034d42 -->|calls| 3b8969f2_1870_9992_b681_07000b6fab0a
  edd11151_c5ef_29d5_a008_d115661e23bd["build()"]
  edd11151_c5ef_29d5_a008_d115661e23bd -->|calls| 3b8969f2_1870_9992_b681_07000b6fab0a
  a64bbc22_3f73_434d_d720_26462030b670["child()"]
  a64bbc22_3f73_434d_d720_26462030b670 -->|calls| 3b8969f2_1870_9992_b681_07000b6fab0a
  6de23dd6_ba39_4c8b_2378_eb7c00e92ed5["createRootApplicationContext()"]
  6de23dd6_ba39_4c8b_2378_eb7c00e92ed5 -->|calls| 3b8969f2_1870_9992_b681_07000b6fab0a
  style 3b8969f2_1870_9992_b681_07000b6fab0a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java lines 1149–1151

	public void addPrimarySources(Collection<Class<?>> additionalPrimarySources) {
		this.primarySources.addAll(additionalPrimarySources);
	}

Domain

Subdomains

Frequently Asked Questions

What does addPrimarySources() do?
addPrimarySources() is a function in the spring-boot codebase.
What calls addPrimarySources()?
addPrimarySources() is called by 4 function(s): build, child, createRootApplicationContext, run.

Analyze Your Own Codebase

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

Try Supermodel Free