接口 SpringApplicationHook

函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface SpringApplicationHook
Low-level hook that can be used to attach a SpringApplicationRunListener to a SpringApplication in order to observe or modify its behavior. Hooks are managed on a per-thread basis providing isolation when multiple applications are executed in parallel.
从以下版本开始:
3.0.0
作者:
Andy Wilkinson, Phillip Webb
另请参阅: