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

customResourceLoader() — spring-boot Function Reference

Architecture documentation for the customResourceLoader() function in SpringApplicationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  8bb890ee_f6c1_250c_fd07_3dc8ad73f52d["customResourceLoader()"]
  69816486_a4f0_d760_faa8_b84520ac7e8a["TestSpringApplication()"]
  8bb890ee_f6c1_250c_fd07_3dc8ad73f52d -->|calls| 69816486_a4f0_d760_faa8_b84520ac7e8a
  ad833542_2916_566a_184b_ff07d5696295["getLoader()"]
  8bb890ee_f6c1_250c_fd07_3dc8ad73f52d -->|calls| ad833542_2916_566a_184b_ff07d5696295
  3613e214_49bf_015b_c43f_7f8a1274fb0b["run()"]
  8bb890ee_f6c1_250c_fd07_3dc8ad73f52d -->|calls| 3613e214_49bf_015b_c43f_7f8a1274fb0b
  style 8bb890ee_f6c1_250c_fd07_3dc8ad73f52d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java lines 447–455

	@Test
	void customResourceLoader() {
		TestSpringApplication application = new TestSpringApplication(ExampleConfig.class);
		application.setWebApplicationType(WebApplicationType.NONE);
		ResourceLoader resourceLoader = new DefaultResourceLoader();
		application.setResourceLoader(resourceLoader);
		this.context = application.run();
		then(application.getLoader()).should().setResourceLoader(resourceLoader);
	}

Domain

Subdomains

Frequently Asked Questions

What does customResourceLoader() do?
customResourceLoader() is a function in the spring-boot codebase.
What does customResourceLoader() call?
customResourceLoader() calls 3 function(s): TestSpringApplication, getLoader, run.

Analyze Your Own Codebase

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

Try Supermodel Free