setListeners
Sets the ApplicationListeners that will be applied to the SpringApplication and registered with the ApplicationContext.
Parameters
listeners
the listeners to set
Sets the ApplicationListeners that will be applied to the SpringApplication and registered with the ApplicationContext.
the listeners to set