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

getDefaultPropertySource() — spring-boot Function Reference

Architecture documentation for the getDefaultPropertySource() function in DefaultPropertiesPropertySourceTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  2473b5e2_6b42_bb69_1902_9caecd51f626["getDefaultPropertySource()"]
  953107a6_eb84_67d8_84d3_e8debf9090ec["addOrMergeWhenExistingNotFoundShouldAdd()"]
  953107a6_eb84_67d8_84d3_e8debf9090ec -->|calls| 2473b5e2_6b42_bb69_1902_9caecd51f626
  e48965a3_02a5_a71b_ea65_c0b3dea9ceb0["addOrMergeWhenExistingFoundShouldMerge()"]
  e48965a3_02a5_a71b_ea65_c0b3dea9ceb0 -->|calls| 2473b5e2_6b42_bb69_1902_9caecd51f626
  fd7acbc7_045b_8b32_f4c4_d359ba7cbf46["addOrMergeWhenExistingNotMapPropertySourceShouldNotMerge()"]
  fd7acbc7_045b_8b32_f4c4_d359ba7cbf46 -->|calls| 2473b5e2_6b42_bb69_1902_9caecd51f626
  style 2473b5e2_6b42_bb69_1902_9caecd51f626 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/env/DefaultPropertiesPropertySourceTests.java lines 150–154

	private PropertySource<?> getDefaultPropertySource(MutablePropertySources propertySources) {
		PropertySource<?> propertySource = propertySources.get(DefaultPropertiesPropertySource.NAME);
		assertThat(propertySource).isNotNull();
		return propertySource;
	}

Domain

Subdomains

Called By

  • addOrMergeWhenExistingFoundShouldMerge()
  • addOrMergeWhenExistingNotFoundShouldAdd()
  • addOrMergeWhenExistingNotMapPropertySourceShouldNotMerge()

Frequently Asked Questions

What does getDefaultPropertySource() do?
getDefaultPropertySource() is a function in the spring-boot codebase.
What calls getDefaultPropertySource()?
getDefaultPropertySource() is called by 3 function(s): addOrMergeWhenExistingFoundShouldMerge, addOrMergeWhenExistingNotFoundShouldAdd, addOrMergeWhenExistingNotMapPropertySourceShouldNotMerge.

Analyze Your Own Codebase

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

Try Supermodel Free