Uses of Interface
org.springframework.boot.SpringApplicationHook
-
Uses of SpringApplicationHook in org.springframework.boot
Modifier and TypeMethodDescriptionstatic void
SpringApplication.withHook
(SpringApplicationHook hook, Runnable action) Perform the given action with the givenSpringApplicationHook
attached if the action triggers anapplication run
.static <T> T
SpringApplication.withHook
(SpringApplicationHook hook, ThrowingSupplier<T> action) Perform the given action with the givenSpringApplicationHook
attached if the action triggers anapplication run
.