run() — spring-boot Function Reference
Architecture documentation for the run() function in SpringApplicationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD b9649cbe_10eb_8608_3985_13be9c3a2f71["run()"] 9ffb9e92_c54b_ebfd_f7a3_82fe19ab6463["runnersAreCalledAfterStartedIsLoggedAndBeforeApplicationReadyEventIsPublished()"] 9ffb9e92_c54b_ebfd_f7a3_82fe19ab6463 -->|calls| b9649cbe_10eb_8608_3985_13be9c3a2f71 db7389ac_2d26_e4a0_fb68_6eeb8c39dbed["applicationRunnerFailureCausesApplicationFailedEventToBePublished()"] db7389ac_2d26_e4a0_fb68_6eeb8c39dbed -->|calls| b9649cbe_10eb_8608_3985_13be9c3a2f71 4dcaa0e0_ed36_29c2_2f00_37f5d0414ad6["commandLineRunnerFailureCausesApplicationFailedEventToBePublished()"] 4dcaa0e0_ed36_29c2_2f00_37f5d0414ad6 -->|calls| b9649cbe_10eb_8608_3985_13be9c3a2f71 6e5a7106_296e_da3c_903f_2eaad097a43c["markAsRan()"] b9649cbe_10eb_8608_3985_13be9c3a2f71 -->|calls| 6e5a7106_296e_da3c_903f_2eaad097a43c 3613e214_49bf_015b_c43f_7f8a1274fb0b["run()"] b9649cbe_10eb_8608_3985_13be9c3a2f71 -->|calls| 3613e214_49bf_015b_c43f_7f8a1274fb0b style b9649cbe_10eb_8608_3985_13be9c3a2f71 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java lines 1964–1968
@Override
public void run(String... args) {
System.out.println(">>> " + this.name);
markAsRan();
}
Domain
Subdomains
Calls
Called By
- applicationRunnerFailureCausesApplicationFailedEventToBePublished()
- commandLineRunnerFailureCausesApplicationFailedEventToBePublished()
- runnersAreCalledAfterStartedIsLoggedAndBeforeApplicationReadyEventIsPublished()
Source
Frequently Asked Questions
What does run() do?
run() is a function in the spring-boot codebase.
What does run() call?
run() calls 2 function(s): markAsRan, run.
What calls run()?
run() is called by 3 function(s): applicationRunnerFailureCausesApplicationFailedEventToBePublished, commandLineRunnerFailureCausesApplicationFailedEventToBePublished, runnersAreCalledAfterStartedIsLoggedAndBeforeApplicationReadyEventIsPublished.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free