SpringApplicationHook Type — spring-boot Architecture
Architecture documentation for the SpringApplicationHook type/interface in SpringApplicationHook.java from the spring-boot codebase.
Entity Profile
Source Code
core/spring-boot/src/main/java/org/springframework/boot/SpringApplicationHook.java lines 32–43
@FunctionalInterface
public interface SpringApplicationHook {
/**
* Return the {@link SpringApplicationRunListener} that should be hooked into the
* given {@link SpringApplication}.
* @param springApplication the source {@link SpringApplication} instance
* @return the {@link SpringApplicationRunListener} to attach or {@code null}
*/
@Nullable SpringApplicationRunListener getRunListener(SpringApplication springApplication);
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free