appendContext() — spring-boot Function Reference
Architecture documentation for the appendContext() function in StartupInfoLogger.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD a17657e6_9701_6069_2de6_175eea70a83d["appendContext()"] 45c29e67_debc_d15a_0a51_c19210130bb9["getStartingMessage()"] 45c29e67_debc_d15a_0a51_c19210130bb9 -->|calls| a17657e6_9701_6069_2de6_175eea70a83d 59c65919_691b_b78c_56bc_a24bf1319909["ApplicationHome()"] a17657e6_9701_6069_2de6_175eea70a83d -->|calls| 59c65919_691b_b78c_56bc_a24bf1319909 ad68a4ff_f40f_6ed4_1e5e_26ccaa40db0e["getSource()"] a17657e6_9701_6069_2de6_175eea70a83d -->|calls| ad68a4ff_f40f_6ed4_1e5e_26ccaa40db0e d349ddba_aa53_76b0_2743_f74f7033ec95["append()"] a17657e6_9701_6069_2de6_175eea70a83d -->|calls| d349ddba_aa53_76b0_2743_f74f7033ec95 style a17657e6_9701_6069_2de6_175eea70a83d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/StartupInfoLogger.java lines 121–134
private void appendContext(StringBuilder message) {
StringBuilder context = new StringBuilder();
ApplicationHome home = new ApplicationHome(this.sourceClass);
if (home.getSource() != null) {
context.append(home.getSource().getAbsolutePath());
}
append(context, "started by ", () -> System.getProperty("user.name"));
append(context, "in ", () -> System.getProperty("user.dir"));
if (!context.isEmpty()) {
message.append(" (");
message.append(context);
message.append(")");
}
}
Domain
Subdomains
Calls
- ApplicationHome()
- append()
- getSource()
Called By
Source
Frequently Asked Questions
What does appendContext() do?
appendContext() is a function in the spring-boot codebase.
What does appendContext() call?
appendContext() calls 3 function(s): ApplicationHome, append, getSource.
What calls appendContext()?
appendContext() is called by 1 function(s): getStartingMessage.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free