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.

Author

Andy Wilkinson

Phillip Webb

Since

3.0.0

See also

org.springframework.boot.SpringApplication

Functions

Link copied to clipboard
Return the SpringApplicationRunListener that should be hooked into the given SpringApplication.