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

isRuntimeShutdownHookAdded() — spring-boot Function Reference

Architecture documentation for the isRuntimeShutdownHookAdded() function in SpringApplicationShutdownHookTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  ec66f862_23f9_2934_b227_c2df94ee9c44["isRuntimeShutdownHookAdded()"]
  f51b3b26_5c05_554a_593f_70e98e3094df["shutdownHookIsNotAddedUntilContextIsRegistered()"]
  f51b3b26_5c05_554a_593f_70e98e3094df -->|calls| ec66f862_23f9_2934_b227_c2df94ee9c44
  a7ea294c_51f8_59dc_a70f_5f11110e5dd1["shutdownHookIsNotAddedUntilHandlerIsRegistered()"]
  a7ea294c_51f8_59dc_a70f_5f11110e5dd1 -->|calls| ec66f862_23f9_2934_b227_c2df94ee9c44
  ed3c5d67_33e4_419f_7c8f_47aee78f3982["shutdownHookIsNotAddedUntilAdditionIsEnabled()"]
  ed3c5d67_33e4_419f_7c8f_47aee78f3982 -->|calls| ec66f862_23f9_2934_b227_c2df94ee9c44
  style ec66f862_23f9_2934_b227_c2df94ee9c44 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/SpringApplicationShutdownHookTests.java lines 238–240

		boolean isRuntimeShutdownHookAdded() {
			return this.runtimeShutdownHookAdded;
		}

Domain

Subdomains

Called By

  • shutdownHookIsNotAddedUntilAdditionIsEnabled()
  • shutdownHookIsNotAddedUntilContextIsRegistered()
  • shutdownHookIsNotAddedUntilHandlerIsRegistered()

Frequently Asked Questions

What does isRuntimeShutdownHookAdded() do?
isRuntimeShutdownHookAdded() is a function in the spring-boot codebase.
What calls isRuntimeShutdownHookAdded()?
isRuntimeShutdownHookAdded() is called by 3 function(s): shutdownHookIsNotAddedUntilAdditionIsEnabled, shutdownHookIsNotAddedUntilContextIsRegistered, shutdownHookIsNotAddedUntilHandlerIsRegistered.

Analyze Your Own Codebase

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

Try Supermodel Free