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

isImmutablePropertySource() — spring-boot Function Reference

Architecture documentation for the isImmutablePropertySource() function in SpringIterableConfigurationPropertySource.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  ee5573ec_1b2e_f695_f2f8_190369d6c3e4["isImmutablePropertySource()"]
  851ba811_217b_4b6c_f08b_617ba6b514dd["SpringIterableConfigurationPropertySource()"]
  851ba811_217b_4b6c_f08b_617ba6b514dd -->|calls| ee5573ec_1b2e_f695_f2f8_190369d6c3e4
  cda595b2_78e2_1ae4_5bfb_3e13cf1c5bbc["getConfigurationPropertyNames()"]
  cda595b2_78e2_1ae4_5bfb_3e13cf1c5bbc -->|calls| ee5573ec_1b2e_f695_f2f8_190369d6c3e4
  783bcd68_e52b_92d9_a637_a06336fb59b6["createCache()"]
  783bcd68_e52b_92d9_a637_a06336fb59b6 -->|calls| ee5573ec_1b2e_f695_f2f8_190369d6c3e4
  1ce75a35_5af1_68b8_9853_1aa02c683160["getPropertySource()"]
  ee5573ec_1b2e_f695_f2f8_190369d6c3e4 -->|calls| 1ce75a35_5af1_68b8_9853_1aa02c683160
  style ee5573ec_1b2e_f695_f2f8_190369d6c3e4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/source/SpringIterableConfigurationPropertySource.java lines 203–212

	boolean isImmutablePropertySource() {
		EnumerablePropertySource<?> source = getPropertySource();
		if (source instanceof PropertySourceInfo propertySourceInfo) {
			return propertySourceInfo.isImmutable();
		}
		if (StandardEnvironment.SYSTEM_ENVIRONMENT_PROPERTY_SOURCE_NAME.equals(source.getName())) {
			return source.getSource() == System.getenv();
		}
		return false;
	}

Domain

Subdomains

Frequently Asked Questions

What does isImmutablePropertySource() do?
isImmutablePropertySource() is a function in the spring-boot codebase.
What does isImmutablePropertySource() call?
isImmutablePropertySource() calls 1 function(s): getPropertySource.
What calls isImmutablePropertySource()?
isImmutablePropertySource() is called by 3 function(s): SpringIterableConfigurationPropertySource, createCache, getConfigurationPropertyNames.

Analyze Your Own Codebase

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

Try Supermodel Free