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

findPropertyValue() — spring-boot Function Reference

Architecture documentation for the findPropertyValue() function in ConfigurationPropertySourcesPropertyResolver.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  6625b69b_0052_ab1a_cd52_dfc38c38d5b8["findPropertyValue()"]
  f3f90142_4076_4a88_26ba_2396365de6a1["getProperty()"]
  f3f90142_4076_4a88_26ba_2396365de6a1 -->|calls| 6625b69b_0052_ab1a_cd52_dfc38c38d5b8
  7a0472f1_fc61_3347_4793_ce3074df63c3["getAttached()"]
  6625b69b_0052_ab1a_cd52_dfc38c38d5b8 -->|calls| 7a0472f1_fc61_3347_4793_ce3074df63c3
  f3f90142_4076_4a88_26ba_2396365de6a1["getProperty()"]
  6625b69b_0052_ab1a_cd52_dfc38c38d5b8 -->|calls| f3f90142_4076_4a88_26ba_2396365de6a1
  style 6625b69b_0052_ab1a_cd52_dfc38c38d5b8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertySourcesPropertyResolver.java lines 95–110

	private @Nullable Object findPropertyValue(String key) {
		ConfigurationPropertySourcesPropertySource attached = getAttached();
		if (attached != null) {
			ConfigurationPropertyName name = ConfigurationPropertyName.of(key, true);
			if (name != null) {
				try {
					ConfigurationProperty configurationProperty = attached.findConfigurationProperty(name);
					return (configurationProperty != null) ? configurationProperty.getValue() : null;
				}
				catch (Exception ex) {
					// Ignore
				}
			}
		}
		return this.defaultResolver.getProperty(key, Object.class, false);
	}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does findPropertyValue() do?
findPropertyValue() is a function in the spring-boot codebase.
What does findPropertyValue() call?
findPropertyValue() calls 2 function(s): getAttached, getProperty.
What calls findPropertyValue()?
findPropertyValue() is called by 1 function(s): getProperty.

Analyze Your Own Codebase

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

Try Supermodel Free