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

remove() — spring-boot Function Reference

Architecture documentation for the remove() function in SpringApplicationShutdownHook.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  e892e3ae_17bc_5dfe_9f21_0b8381c71cc1["remove()"]
  51e28916_7543_5edf_1f13_57b2ce80d5c5["deregisterFailedApplicationContext()"]
  51e28916_7543_5edf_1f13_57b2ce80d5c5 -->|calls| e892e3ae_17bc_5dfe_9f21_0b8381c71cc1
  ab428a78_5d47_dff0_3b74_9e0af5c5d16a["onApplicationEvent()"]
  ab428a78_5d47_dff0_3b74_9e0af5c5d16a -->|calls| e892e3ae_17bc_5dfe_9f21_0b8381c71cc1
  fcd9b0c3_3fe0_5029_8df4_4ba0f747d6cd["assertNotInProgress()"]
  e892e3ae_17bc_5dfe_9f21_0b8381c71cc1 -->|calls| fcd9b0c3_3fe0_5029_8df4_4ba0f747d6cd
  style e892e3ae_17bc_5dfe_9f21_0b8381c71cc1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplicationShutdownHook.java lines 188–195

		@Override
		public void remove(Runnable action) {
			Assert.notNull(action, "'action' must not be null");
			synchronized (SpringApplicationShutdownHook.class) {
				assertNotInProgress();
				this.actions.remove(new Handler(action));
			}
		}

Domain

Subdomains

Called By

  • deregisterFailedApplicationContext()
  • onApplicationEvent()

Frequently Asked Questions

What does remove() do?
remove() is a function in the spring-boot codebase.
What does remove() call?
remove() calls 1 function(s): assertNotInProgress.
What calls remove()?
remove() is called by 2 function(s): deregisterFailedApplicationContext, onApplicationEvent.

Analyze Your Own Codebase

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

Try Supermodel Free