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

getEnvironment() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a74a6404_ac0b_ef50_4554_48366dd90b97["getEnvironment()"]
  ec28bceb_afae_dbcc_dc04_34cec403ab77["getEnvironment()"]
  ec28bceb_afae_dbcc_dc04_34cec403ab77 -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  7d5d754c_bca4_3cde_00f3_cbf533d9a055["initializeFromAotGeneratedArtifactsIfPossible()"]
  7d5d754c_bca4_3cde_00f3_cbf533d9a055 -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  647ef14c_5da4_24a4_ddac_0beb0e1b96f5["loadDefaults()"]
  647ef14c_5da4_24a4_ddac_0beb0e1b96f5 -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  cafc9a8c_e23a_b8c4_5c44_2f02f0d89617["loadConfiguration()"]
  cafc9a8c_e23a_b8c4_5c44_2f02f0d89617 -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  aa249080_5507_10e2_df79_a6fbb70d13c8["putInitializationContextObjects()"]
  aa249080_5507_10e2_df79_a6fbb70d13c8 -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  82740ec1_84e9_957b_21ce_992dba14c8da["addModelHandlerAssociations()"]
  82740ec1_84e9_957b_21ce_992dba14c8da -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  02061150_938d_939c_4bbc_e795406d267c["init()"]
  02061150_938d_939c_4bbc_e795406d267c -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  0fb20a89_e516_2c1e_0cd2_6c1ef8c4da5a["baseConfigLocation()"]
  0fb20a89_e516_2c1e_0cd2_6c1ef8c4da5a -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  95aa9c2f_e204_0970_bd4c_f18c4bd78626["overrideConfigLocation()"]
  95aa9c2f_e204_0970_bd4c_f18c4bd78626 -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  29101dd7_b9c1_b3f0_b337_734a62d8205d["throwableFromInitializeResultsInGracefulFailure()"]
  29101dd7_b9c1_b3f0_b337_734a62d8205d -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  3822f26b_9847_43e2_c77b_59713d7e9db9["trailingWhitespaceInLoggingConfigShouldBeTrimmed()"]
  3822f26b_9847_43e2_c77b_59713d7e9db9 -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  f575aa33_8305_12d0_e896_c3ed56bfd07c["overrideConfigDoesNotExist()"]
  f575aa33_8305_12d0_e896_c3ed56bfd07c -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  29120080_cb86_fc70_f9b8_2068829b963d["azureDefaultLoggingConfigDoesNotCauseAFailure()"]
  29120080_cb86_fc70_f9b8_2068829b963d -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  559e67ac_60b4_c1d4_4c9a_74b3d749e1cf["tomcatNopLoggingConfigDoesNotCauseAFailure()"]
  559e67ac_60b4_c1d4_4c9a_74b3d749e1cf -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  style a74a6404_ac0b_ef50_4554_48366dd90b97 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/LoggingInitializationContext.java lines 46–48

	public @Nullable Environment 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 45 function(s): addLogFileProperty, addLogFilePropertyWithDefault, addLogPathProperty, addModelHandlerAssociations, addPropertiesToEnvironment, azureDefaultLoggingConfigDoesNotCauseAFailure, baseConfigLocation, defaultExceptionConversionWord, and 37 more.

Analyze Your Own Codebase

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

Try Supermodel Free