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

load() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  eae96026_bbce_8d77_471b_59ff129abfa6["load()"]
  6b936799_38fb_0696_87b7_76927dabff8e["orderedItems()"]
  6b936799_38fb_0696_87b7_76927dabff8e -->|calls| eae96026_bbce_8d77_471b_59ff129abfa6
  d801f8c8_5835_d58a_7d26_53de3995b610["mergeItems()"]
  d801f8c8_5835_d58a_7d26_53de3995b610 -->|calls| eae96026_bbce_8d77_471b_59ff129abfa6
  8dd03930_ffcd_812b_f149_8677611d980d["timestampLikeItemsDoNotBecomeDates()"]
  8dd03930_ffcd_812b_f149_8677611d980d -->|calls| eae96026_bbce_8d77_471b_59ff129abfa6
  29d0182e_087c_e829_1917_7fdebccab88a["loadOriginAware()"]
  29d0182e_087c_e829_1917_7fdebccab88a -->|calls| eae96026_bbce_8d77_471b_59ff129abfa6
  style eae96026_bbce_8d77_471b_59ff129abfa6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/env/YamlPropertySourceLoaderTests.java lines 45–51

	@Test
	void load() throws Exception {
		ByteArrayResource resource = new ByteArrayResource("foo:\n  bar: spam".getBytes());
		PropertySource<?> source = this.loader.load("resource", resource).get(0);
		assertThat(source).isNotNull();
		assertThat(source.getProperty("foo.bar")).isEqualTo("spam");
	}

Domain

Subdomains

Called By

  • loadOriginAware()
  • mergeItems()
  • orderedItems()
  • timestampLikeItemsDoNotBecomeDates()

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): loadOriginAware, mergeItems, orderedItems, timestampLikeItemsDoNotBecomeDates.

Analyze Your Own Codebase

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

Try Supermodel Free