sources() — spring-boot Function Reference
Architecture documentation for the sources() function in SpringApplicationBuilder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 51fff311_cd5f_0d1a_785f_e21bb701b042["sources()"] a64bbc22_3f73_434d_d720_26462030b670["child()"] a64bbc22_3f73_434d_d720_26462030b670 -->|calls| 51fff311_cd5f_0d1a_785f_e21bb701b042 8a118e49_42e8_8550_9795_9fdf8ea8c31e["parent()"] 8a118e49_42e8_8550_9795_9fdf8ea8c31e -->|calls| 51fff311_cd5f_0d1a_785f_e21bb701b042 ee9bc401_3667_cf96_b731_3816b9d23db1["whenServletContextIsDestroyedThenJdbcDriversAreDeregistered()"] ee9bc401_3667_cf96_b731_3816b9d23db1 -->|calls| 51fff311_cd5f_0d1a_785f_e21bb701b042 caff22eb_a0c4_f6d3_d4a0_03b2811dbb8d["whenServletContextIsDestroyedThenReactorSchedulersAreShutDown()"] caff22eb_a0c4_f6d3_d4a0_03b2811dbb8d -->|calls| 51fff311_cd5f_0d1a_785f_e21bb701b042 8167a998_f1fd_9e15_e950_40dfcfa92165["configure()"] 8167a998_f1fd_9e15_e950_40dfcfa92165 -->|calls| 51fff311_cd5f_0d1a_785f_e21bb701b042 cfc6ecf2_aefe_9e3b_79e9_ee1e118197f2["configure()"] cfc6ecf2_aefe_9e3b_79e9_ee1e118197f2 -->|calls| 51fff311_cd5f_0d1a_785f_e21bb701b042 dc2d5e29_0f3d_42d5_6439_295c60aa6f69["configure()"] dc2d5e29_0f3d_42d5_6439_295c60aa6f69 -->|calls| 51fff311_cd5f_0d1a_785f_e21bb701b042 68b1b4e9_c014_5f27_e897_fde023232fae["configure()"] 68b1b4e9_c014_5f27_e897_fde023232fae -->|calls| 51fff311_cd5f_0d1a_785f_e21bb701b042 cd290cc3_c512_348f_0aea_acc9eedcb653["onlyRegisteredOnceWhenThereIsAChildContext()"] cd290cc3_c512_348f_0aea_acc9eedcb653 -->|calls| 51fff311_cd5f_0d1a_785f_e21bb701b042 style 51fff311_cd5f_0d1a_785f_e21bb701b042 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java lines 304–307
public SpringApplicationBuilder sources(Class<?>... sources) {
this.sources.addAll(new LinkedHashSet<>(Arrays.asList(sources)));
return this;
}
Domain
Subdomains
Called By
- child()
- configure()
- configure()
- configure()
- configure()
- onlyRegisteredOnceWhenThereIsAChildContext()
- parent()
- whenServletContextIsDestroyedThenJdbcDriversAreDeregistered()
- whenServletContextIsDestroyedThenReactorSchedulersAreShutDown()
Source
Frequently Asked Questions
What does sources() do?
sources() is a function in the spring-boot codebase.
What calls sources()?
sources() is called by 9 function(s): child, configure, configure, configure, configure, onlyRegisteredOnceWhenThereIsAChildContext, parent, whenServletContextIsDestroyedThenJdbcDriversAreDeregistered, and 1 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free