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

setEnvironmentPrefix() — spring-boot Function Reference

Architecture documentation for the setEnvironmentPrefix() function in SpringApplication.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  2b0f86f3_6ad1_9ee6_9a1e_b19431054c30["setEnvironmentPrefix()"]
  c26fce7e_f679_edd5_ff5c_7c6b9e3a87a3["environmentPrefix()"]
  c26fce7e_f679_edd5_ff5c_7c6b9e3a87a3 -->|calls| 2b0f86f3_6ad1_9ee6_9a1e_b19431054c30
  d42bf4b3_d57d_03a8_fd21_cc357c619411["setEnvironmentPrefix()"]
  d42bf4b3_d57d_03a8_fd21_cc357c619411 -->|calls| 2b0f86f3_6ad1_9ee6_9a1e_b19431054c30
  d4db57cc_14b5_f0ca_e87d_9df48c07f3ad["runWhenProfileActivatedViaSystemEnvironmentVariableWithPrefix()"]
  d4db57cc_14b5_f0ca_e87d_9df48c07f3ad -->|calls| 2b0f86f3_6ad1_9ee6_9a1e_b19431054c30
  a4456466_37ef_8bc8_2f5c_24bb5cdba70f["loadWhenEnvironmentPrefixSetShouldBind()"]
  a4456466_37ef_8bc8_2f5c_24bb5cdba70f -->|calls| 2b0f86f3_6ad1_9ee6_9a1e_b19431054c30
  7b00955d_0f1d_9e59_03a8_b04563863701["propertySourceShouldBePrefixed()"]
  7b00955d_0f1d_9e59_03a8_b04563863701 -->|calls| 2b0f86f3_6ad1_9ee6_9a1e_b19431054c30
  eed77637_5acb_eeca_0159_d6bf13c08b74["postProcessWithParentEnvironmentShouldApplyPrefix()"]
  eed77637_5acb_eeca_0159_d6bf13c08b74 -->|calls| 2b0f86f3_6ad1_9ee6_9a1e_b19431054c30
  style 2b0f86f3_6ad1_9ee6_9a1e_b19431054c30 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java lines 1225–1227

	public void setEnvironmentPrefix(String environmentPrefix) {
		this.environmentPrefix = environmentPrefix;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does setEnvironmentPrefix() do?
setEnvironmentPrefix() is a function in the spring-boot codebase.
What calls setEnvironmentPrefix()?
setEnvironmentPrefix() is called by 6 function(s): environmentPrefix, loadWhenEnvironmentPrefixSetShouldBind, postProcessWithParentEnvironmentShouldApplyPrefix, propertySourceShouldBePrefixed, runWhenProfileActivatedViaSystemEnvironmentVariableWithPrefix, setEnvironmentPrefix.

Analyze Your Own Codebase

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

Try Supermodel Free