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

load() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  222a8e89_bf83_0775_6c28_aa2b3c87cbec["load()"]
  ea67f4b3_0930_3bd1_e4d4_b6a0c2fc9083["neither()"]
  ea67f4b3_0930_3bd1_e4d4_b6a0c2fc9083 -->|calls| 222a8e89_bf83_0775_6c28_aa2b3c87cbec
  86fa471f_fcfc_f476_3a2f_1175a271dd2c["propertyA()"]
  86fa471f_fcfc_f476_3a2f_1175a271dd2c -->|calls| 222a8e89_bf83_0775_6c28_aa2b3c87cbec
  7cf27c5d_2ee8_0354_ec9b_f8c0be67c163["propertyB()"]
  7cf27c5d_2ee8_0354_ec9b_f8c0be67c163 -->|calls| 222a8e89_bf83_0775_6c28_aa2b3c87cbec
  629e0aa4_0c6d_bbbd_c874_7d716c015ef8["both()"]
  629e0aa4_0c6d_bbbd_c874_7d716c015ef8 -->|calls| 222a8e89_bf83_0775_6c28_aa2b3c87cbec
  style 222a8e89_bf83_0775_6c28_aa2b3c87cbec fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/NoneNestedConditionsTests.java lines 65–71

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

Domain

Subdomains

Called By

  • both()
  • neither()
  • propertyA()
  • propertyB()

Frequently Asked Questions

What does load() do?
load() is a function in the spring-boot codebase.
What calls load()?
load() is called by 4 function(s): both, neither, propertyA, propertyB.

Analyze Your Own Codebase

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

Try Supermodel Free