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

cleanUp() — spring-boot Function Reference

Architecture documentation for the cleanUp() function in LogbackLoggingSystemTests.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  fdbd1b73_3c9a_1ec8_2ac3_04f41fb0df51["cleanUp()"]
  dc33459c_3010_a533_be79_c789260d731a["setup()"]
  dc33459c_3010_a533_be79_c789260d731a -->|calls| fdbd1b73_3c9a_1ec8_2ac3_04f41fb0df51
  7b552eda_c7e4_0155_358e_72456b0178a3["bridgeHandlerLifecycle()"]
  7b552eda_c7e4_0155_358e_72456b0178a3 -->|calls| fdbd1b73_3c9a_1ec8_2ac3_04f41fb0df51
  10f69de3_2912_4ab8_edc8_b8a8b9bca3f7["initializationIsOnlyPerformedOnceUntilCleanedUp()"]
  10f69de3_2912_4ab8_edc8_b8a8b9bca3f7 -->|calls| fdbd1b73_3c9a_1ec8_2ac3_04f41fb0df51
  3fd06bae_0f90_3836_e1dd_ba0a88b1617c["cleanUp()"]
  fdbd1b73_3c9a_1ec8_2ac3_04f41fb0df51 -->|calls| 3fd06bae_0f90_3836_e1dd_ba0a88b1617c
  style fdbd1b73_3c9a_1ec8_2ac3_04f41fb0df51 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/logback/LogbackLoggingSystemTests.java lines 140–145

	@AfterEach
	void cleanUp() {
		System.getProperties().keySet().retainAll(this.systemPropertyNames);
		this.loggingSystem.cleanUp();
		((LoggerContext) LoggerFactory.getILoggerFactory()).stop();
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does cleanUp() do?
cleanUp() is a function in the spring-boot codebase.
What does cleanUp() call?
cleanUp() calls 1 function(s): cleanUp.
What calls cleanUp()?
cleanUp() is called by 3 function(s): bridgeHandlerLifecycle, initializationIsOnlyPerformedOnceUntilCleanedUp, setup.

Analyze Your Own Codebase

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

Try Supermodel Free