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

load() — spring-boot Function Reference

Architecture documentation for the load() function in ResourceConditionTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  215fa8ce_63c1_f699_4560_9d9def671bdf["load()"]
  3be2d084_209b_bfa7_c145_f537555600b1["defaultResourceAndNoExplicitKey()"]
  3be2d084_209b_bfa7_c145_f537555600b1 -->|calls| 215fa8ce_63c1_f699_4560_9d9def671bdf
  35b6f7b4_8b88_e5ea_59e3_f6cce3f47c6b["unknownDefaultLocationAndNoExplicitKey()"]
  35b6f7b4_8b88_e5ea_59e3_f6cce3f47c6b -->|calls| 215fa8ce_63c1_f699_4560_9d9def671bdf
  a90c3f0a_e472_56ca_6a6e_b7f76ab3b8e8["unknownDefaultLocationAndExplicitKeyToResource()"]
  a90c3f0a_e472_56ca_6a6e_b7f76ab3b8e8 -->|calls| 215fa8ce_63c1_f699_4560_9d9def671bdf
  style 215fa8ce_63c1_f699_4560_9d9def671bdf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ResourceConditionTests.java lines 68–74

	private void load(Class<?> config, String... environment) {
		AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext();
		TestPropertyValues.of(environment).applyTo(applicationContext);
		applicationContext.register(config);
		applicationContext.refresh();
		this.context = applicationContext;
	}

Domain

Subdomains

Called By

  • defaultResourceAndNoExplicitKey()
  • unknownDefaultLocationAndExplicitKeyToResource()
  • unknownDefaultLocationAndNoExplicitKey()

Frequently Asked Questions

What does load() do?
load() is a function in the spring-boot codebase.
What calls load()?
load() is called by 3 function(s): defaultResourceAndNoExplicitKey, unknownDefaultLocationAndExplicitKeyToResource, unknownDefaultLocationAndNoExplicitKey.

Analyze Your Own Codebase

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

Try Supermodel Free