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.- 
Method SummaryModifier and TypeMethodDescriptiongetRunListener(SpringApplication springApplication) Return theSpringApplicationRunListenerthat should be hooked into the givenSpringApplication.
- 
Method Details- 
getRunListenerReturn theSpringApplicationRunListenerthat should be hooked into the givenSpringApplication.- Parameters:
- springApplication- the source- SpringApplicationinstance
- Returns:
- the SpringApplicationRunListenerto attach
 
 
-