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

initialize() — spring-boot Function Reference

Architecture documentation for the initialize() function in SpringProfileArbiterTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  43c2fb8f_5eef_979b_2b95_4fdca329688c["initialize()"]
  211bd89c_56de_2c63_5139_1b6f4612999f["profileActive()"]
  211bd89c_56de_2c63_5139_1b6f4612999f -->|calls| 43c2fb8f_5eef_979b_2b95_4fdca329688c
  c06d9f83_9bbc_2761_56ed_a1e328620d93["multipleNamesFirstProfileActive()"]
  c06d9f83_9bbc_2761_56ed_a1e328620d93 -->|calls| 43c2fb8f_5eef_979b_2b95_4fdca329688c
  7ec7a24f_689c_4bd9_c4b0_0a8e870d1a52["multipleNamesSecondProfileActive()"]
  7ec7a24f_689c_4bd9_c4b0_0a8e870d1a52 -->|calls| 43c2fb8f_5eef_979b_2b95_4fdca329688c
  9b8a4c36_be84_9e43_b365_39b874a7e5e9["profileNotActive()"]
  9b8a4c36_be84_9e43_b365_39b874a7e5e9 -->|calls| 43c2fb8f_5eef_979b_2b95_4fdca329688c
  9fe1af57_4c18_5e40_8869_da3056d7767a["profileExpressionMatchFirst()"]
  9fe1af57_4c18_5e40_8869_da3056d7767a -->|calls| 43c2fb8f_5eef_979b_2b95_4fdca329688c
  80f38eb0_9da7_c02c_dcf0_fe7ebffb950a["profileExpressionMatchSecond()"]
  80f38eb0_9da7_c02c_dcf0_fe7ebffb950a -->|calls| 43c2fb8f_5eef_979b_2b95_4fdca329688c
  0018269c_ee8b_f5f8_8adf_7489a633d4b5["profileExpressionNoMatch()"]
  0018269c_ee8b_f5f8_8adf_7489a633d4b5 -->|calls| 43c2fb8f_5eef_979b_2b95_4fdca329688c
  style 43c2fb8f_5eef_979b_2b95_4fdca329688c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/log4j2/SpringProfileArbiterTests.java lines 157–160

	private void initialize(String config) {
		this.environment.setProperty("logging.log4j2.config.override", "classpath:" + config);
		this.loggingSystem.initialize(this.initializationContext, null, null);
	}

Domain

Subdomains

Called By

  • multipleNamesFirstProfileActive()
  • multipleNamesSecondProfileActive()
  • profileActive()
  • profileExpressionMatchFirst()
  • profileExpressionMatchSecond()
  • profileExpressionNoMatch()
  • profileNotActive()

Frequently Asked Questions

What does initialize() do?
initialize() is a function in the spring-boot codebase.
What calls initialize()?
initialize() is called by 7 function(s): multipleNamesFirstProfileActive, multipleNamesSecondProfileActive, profileActive, profileExpressionMatchFirst, profileExpressionMatchSecond, profileExpressionNoMatch, profileNotActive.

Analyze Your Own Codebase

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

Try Supermodel Free