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

getLoader() — spring-boot Function Reference

Architecture documentation for the getLoader() function in ConfigDataLoadersTests.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  b4bd1b62_258e_7154_0302_6353e6ac5661["getLoader()"]
  af3aad03_aaa3_f636_d13b_ad18641d00bd["loadWhenSingleLoaderSupportsLocationReturnsLoadedConfigData()"]
  af3aad03_aaa3_f636_d13b_ad18641d00bd -->|calls| b4bd1b62_258e_7154_0302_6353e6ac5661
  b3c3c813_14f0_9d2a_2cf0_e65bc14bd368["loadWhenGenericTypeDoesNotMatchSkipsLoader()"]
  b3c3c813_14f0_9d2a_2cf0_e65bc14bd368 -->|calls| b4bd1b62_258e_7154_0302_6353e6ac5661
  87f0b21f_3955_8dcc_cc55_9c6321893f96["get()"]
  b4bd1b62_258e_7154_0302_6353e6ac5661 -->|calls| 87f0b21f_3955_8dcc_cc55_9c6321893f96
  style b4bd1b62_258e_7154_0302_6353e6ac5661 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigDataLoadersTests.java lines 139–143

	private ConfigDataLoader<?> getLoader(ConfigData loaded) {
		ConfigDataLoader<?> result = (ConfigDataLoader<?>) loaded.getPropertySources().get(0).getProperty("loader");
		assertThat(result).isNotNull();
		return result;
	}

Domain

Subdomains

Calls

Called By

  • loadWhenGenericTypeDoesNotMatchSkipsLoader()
  • loadWhenSingleLoaderSupportsLocationReturnsLoadedConfigData()

Frequently Asked Questions

What does getLoader() do?
getLoader() is a function in the spring-boot codebase.
What does getLoader() call?
getLoader() calls 1 function(s): get.
What calls getLoader()?
getLoader() is called by 2 function(s): loadWhenGenericTypeDoesNotMatchSkipsLoader, loadWhenSingleLoaderSupportsLocationReturnsLoadedConfigData.

Analyze Your Own Codebase

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

Try Supermodel Free