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

customResourceLoaderFromConstructor() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java lines 457–463

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

Domain

Subdomains

Frequently Asked Questions

What does customResourceLoaderFromConstructor() do?
customResourceLoaderFromConstructor() is a function in the spring-boot codebase.
What does customResourceLoaderFromConstructor() call?
customResourceLoaderFromConstructor() 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