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

get() — spring-boot Function Reference

Architecture documentation for the get() function in ConfigurationPropertySources.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  27357c30_08b2_1edd_a0b3_3b72d34367f2["get()"]
  22f224d0_edc0_4c8e_e0c2_e0a524465f56["getAttached()"]
  22f224d0_edc0_4c8e_e0c2_e0a524465f56 -->|calls| 27357c30_08b2_1edd_a0b3_3b72d34367f2
  b9ec69f2_02a8_0901_fa2a_c4ce3efc4e5b["get()"]
  b9ec69f2_02a8_0901_fa2a_c4ce3efc4e5b -->|calls| 27357c30_08b2_1edd_a0b3_3b72d34367f2
  b93805b7_39bf_feee_1811_9ff6ff399f20["get()"]
  b93805b7_39bf_feee_1811_9ff6ff399f20 -->|calls| 27357c30_08b2_1edd_a0b3_3b72d34367f2
  c90d60de_6e4d_b157_5121_acbc78d427f0["get()"]
  c90d60de_6e4d_b157_5121_acbc78d427f0 -->|calls| 27357c30_08b2_1edd_a0b3_3b72d34367f2
  bdf1886c_19f9_9cc1_5bff_886f1b1e2835["Binder()"]
  bdf1886c_19f9_9cc1_5bff_886f1b1e2835 -->|calls| 27357c30_08b2_1edd_a0b3_3b72d34367f2
  621dd6a3_85f9_dc5e_cd4c_3118ea5a0b3e["handleBindResult()"]
  621dd6a3_85f9_dc5e_cd4c_3118ea5a0b3e -->|calls| 27357c30_08b2_1edd_a0b3_3b72d34367f2
  11338589_3cbf_a232_006d_8d22cfbd0f0f["fromDataObjectBinders()"]
  11338589_3cbf_a232_006d_8d22cfbd0f0f -->|calls| 27357c30_08b2_1edd_a0b3_3b72d34367f2
  8a8cf0a1_f22c_a910_f5f4_aae8e6da19dd["withSource()"]
  8a8cf0a1_f22c_a910_f5f4_aae8e6da19dd -->|calls| 27357c30_08b2_1edd_a0b3_3b72d34367f2
  2a552bd0_ba5a_05bf_be22_e05293be8889["withIncreasedDepth()"]
  2a552bd0_ba5a_05bf_be22_e05293be8889 -->|calls| 27357c30_08b2_1edd_a0b3_3b72d34367f2
  de6f7174_6a93_5283_5810_425db6f8b951["bindShouldBindWithoutHandler()"]
  de6f7174_6a93_5283_5810_425db6f8b951 -->|calls| 27357c30_08b2_1edd_a0b3_3b72d34367f2
  5e01f91c_727e_aa94_190f_6a52c4974259["validationShouldBeSkippedIfPreviousValidationErrorPresent()"]
  5e01f91c_727e_aa94_190f_6a52c4974259 -->|calls| 27357c30_08b2_1edd_a0b3_3b72d34367f2
  style 27357c30_08b2_1edd_a0b3_3b72d34367f2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertySources.java lines 120–129

	public static Iterable<ConfigurationPropertySource> get(Environment environment) {
		Assert.isInstanceOf(ConfigurableEnvironment.class, environment);
		MutablePropertySources sources = ((ConfigurableEnvironment) environment).getPropertySources();
		ConfigurationPropertySourcesPropertySource attached = (ConfigurationPropertySourcesPropertySource) sources
			.get(ATTACHED_PROPERTY_SOURCE_NAME);
		if (attached == null) {
			return from(sources);
		}
		return attached.getSource();
	}

Domain

Subdomains

Frequently Asked Questions

What does get() do?
get() is a function in the spring-boot codebase.
What calls get()?
get() is called by 11 function(s): Binder, bindShouldBindWithoutHandler, fromDataObjectBinders, get, get, get, getAttached, handleBindResult, and 3 more.

Analyze Your Own Codebase

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

Try Supermodel Free