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

load() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  aff80602_cf2d_715e_62d0_495fcf150e70["load()"]
  a782a300_8df4_2f28_b6d4_963ec0a84e65["disabledByDefault()"]
  a782a300_8df4_2f28_b6d4_963ec0a84e65 -->|calls| aff80602_cf2d_715e_62d0_495fcf150e70
  5a556155_b60b_6f51_ac3c_2b5c22ca07dc["disabledExplicitly()"]
  5a556155_b60b_6f51_ac3c_2b5c22ca07dc -->|calls| aff80602_cf2d_715e_62d0_495fcf150e70
  a2f5f6c5_79f7_74c9_2953_d850413d2c97["enabledViaMainEnabledFlag()"]
  a2f5f6c5_79f7_74c9_2953_d850413d2c97 -->|calls| aff80602_cf2d_715e_62d0_495fcf150e70
  af16dce2_a60f_3b2f_b0f6_775eacdefb2c["enabledViaFixedStrategyFlag()"]
  af16dce2_a60f_3b2f_b0f6_775eacdefb2c -->|calls| aff80602_cf2d_715e_62d0_495fcf150e70
  e40c4544_0dde_6535_f72d_5a63a6f2edab["enabledViaContentStrategyFlag()"]
  e40c4544_0dde_6535_f72d_5a63a6f2edab -->|calls| aff80602_cf2d_715e_62d0_495fcf150e70
  style aff80602_cf2d_715e_62d0_495fcf150e70 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/ConditionalOnEnabledResourceChainTests.java lines 73–77

	private void load(String... environment) {
		this.context.register(Config.class);
		TestPropertyValues.of(environment).applyTo(this.context);
		this.context.refresh();
	}

Domain

Subdomains

Called By

  • disabledByDefault()
  • disabledExplicitly()
  • enabledViaContentStrategyFlag()
  • enabledViaFixedStrategyFlag()
  • enabledViaMainEnabledFlag()

Frequently Asked Questions

What does load() do?
load() is a function in the spring-boot codebase.
What calls load()?
load() is called by 5 function(s): disabledByDefault, disabledExplicitly, enabledViaContentStrategyFlag, enabledViaFixedStrategyFlag, enabledViaMainEnabledFlag.

Analyze Your Own Codebase

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

Try Supermodel Free