Home / Type/ SpringApplicationShutdownHandlers Type — spring-boot Architecture

SpringApplicationShutdownHandlers Type — spring-boot Architecture

Architecture documentation for the SpringApplicationShutdownHandlers type/interface in SpringApplicationShutdownHandlers.java from the spring-boot codebase.

Entity Profile

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplicationShutdownHandlers.java lines 35–49

public interface SpringApplicationShutdownHandlers {

	/**
	 * Add an action to the handlers that will be run when the JVM exits.
	 * @param action the action to add
	 */
	void add(Runnable action);

	/**
	 * Remove a previously added an action so that it no longer runs when the JVM exits.
	 * @param action the action to remove
	 */
	void remove(Runnable action);

}

Analyze Your Own Codebase

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

Try Supermodel Free