setListeners

open fun setListeners(listeners: Collection<out ApplicationListener<out Any>>)

Sets the ApplicationListeners that will be applied to the SpringApplication and registered with the ApplicationContext.

Parameters

listeners

the listeners to set