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

getEnvironment() — spring-boot Function Reference

Architecture documentation for the getEnvironment() function in ApplicationEnvironmentPreparedEvent.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7["getEnvironment()"]
  40f47279_1301_7ce6_a5b6_e6b7caa3bff7["getEnvironment()"]
  40f47279_1301_7ce6_a5b6_e6b7caa3bff7 -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7
  523467ea_c0b4_da5d_ee4a_0814bfae67df["onApplicationEvent()"]
  523467ea_c0b4_da5d_ee4a_0814bfae67df -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7
  88b37f6d_3b94_0647_3a2a_eba6bf1ab9e2["onApplicationEvent()"]
  88b37f6d_3b94_0647_3a2a_eba6bf1ab9e2 -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7
  52b61d79_82f7_0eb2_effc_f5228b03edd1["onApplicationEnvironmentPreparedEvent()"]
  52b61d79_82f7_0eb2_effc_f5228b03edd1 -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7
  1b0ec0fc_4ad2_e0af_7a5e_0292c19af448["onApplicationEvent()"]
  1b0ec0fc_4ad2_e0af_7a5e_0292c19af448 -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7
  b51c2a0a_c091_ca23_6e06_a954e1fee03d["getEnvironment()"]
  b51c2a0a_c091_ca23_6e06_a954e1fee03d -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7
  03f72db9_73c0_ad87_732c_d7136faafb06["createPreparedEvent()"]
  03f72db9_73c0_ad87_732c_d7136faafb06 -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7
  e51019a0_f523_a128_a340_dc9ed5e3fc65["createReadyEvent()"]
  e51019a0_f523_a128_a340_dc9ed5e3fc65 -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7
  df9a92e1_947d_0e8c_36dc_c580ded30ba0["shouldUseAotEnvironmentPostProcessor()"]
  df9a92e1_947d_0e8c_36dc_c580ded30ba0 -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7
  04a87bf0_2b66_0d7e_0c60_b88314f460fb["aotEnvironmentPostProcessorShouldBeAppliedFirst()"]
  04a87bf0_2b66_0d7e_0c60_b88314f460fb -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7
  3aa2334a_1a67_964b_f9ce_8653af68163e["shouldBeLenientIfAotEnvironmentPostProcessorDoesNotExist()"]
  3aa2334a_1a67_964b_f9ce_8653af68163e -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7
  6f78c07b_1c91_e614_54b3_31a0eecd55aa["environmentIsConfiguredWithStandardServletEnvironment()"]
  6f78c07b_1c91_e614_54b3_31a0eecd55aa -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7
  b88543cc_dde9_7f7e_9879_d0600084bb5b["servletContextPropertySourceIsAvailablePriorToRefresh()"]
  b88543cc_dde9_7f7e_9879_d0600084bb5b -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7
  9ed444a6_d1fc_fd1d_f089_64731298ddae["onApplicationEvent()"]
  9ed444a6_d1fc_fd1d_f089_64731298ddae -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7
  style 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationEnvironmentPreparedEvent.java lines 65–67

	public ConfigurableEnvironment getEnvironment() {
		return this.environment;
	}

Domain

Subdomains

Frequently Asked Questions

What does getEnvironment() do?
getEnvironment() is a function in the spring-boot codebase.
What calls getEnvironment()?
getEnvironment() is called by 15 function(s): aotEnvironmentPostProcessorShouldBeAppliedFirst, createPreparedEvent, createReadyEvent, environmentIsConfiguredWithStandardServletEnvironment, getEnvironment, getEnvironment, onApplicationEnvironmentPreparedEvent, onApplicationEnvironmentPreparedEvent, and 7 more.

Analyze Your Own Codebase

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

Try Supermodel Free