Package org.springframework.boot
Interface SpringApplicationHook
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
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.- Since:
 - 3.0.0
 - Author:
 - Andy Wilkinson, Phillip Webb
 - See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptiongetRunListener(SpringApplication springApplication) Return theSpringApplicationRunListenerthat should be hooked into the givenSpringApplication. 
- 
Method Details
- 
getRunListener
Return theSpringApplicationRunListenerthat should be hooked into the givenSpringApplication.- Parameters:
 springApplication- the sourceSpringApplicationinstance- Returns:
 - the 
SpringApplicationRunListenerto attach 
 
 -