headless() — spring-boot Function Reference
Architecture documentation for the headless() function in SpringApplicationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 2a70e563_35e7_d0f5_8c43_c89d513a45e2["headless()"] 18ee5057_6c34_2f30_2ad4_18cece37167a["headless()"] 2a70e563_35e7_d0f5_8c43_c89d513a45e2 -->|calls| 18ee5057_6c34_2f30_2ad4_18cece37167a 69816486_a4f0_d760_faa8_b84520ac7e8a["TestSpringApplication()"] 2a70e563_35e7_d0f5_8c43_c89d513a45e2 -->|calls| 69816486_a4f0_d760_faa8_b84520ac7e8a 3613e214_49bf_015b_c43f_7f8a1274fb0b["run()"] 2a70e563_35e7_d0f5_8c43_c89d513a45e2 -->|calls| 3613e214_49bf_015b_c43f_7f8a1274fb0b style 2a70e563_35e7_d0f5_8c43_c89d513a45e2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java lines 1074–1080
@Test
void headless() {
TestSpringApplication application = new TestSpringApplication(ExampleConfig.class);
application.setWebApplicationType(WebApplicationType.NONE);
this.context = application.run();
assertThat(System.getProperty("java.awt.headless")).isEqualTo("true");
}
Domain
Subdomains
Calls
- TestSpringApplication()
- headless()
- run()
Source
Frequently Asked Questions
What does headless() do?
headless() is a function in the spring-boot codebase.
What does headless() call?
headless() calls 3 function(s): TestSpringApplication, headless, run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free