addListeners

open fun addListeners(listeners: Array<ApplicationListener<out Any>>)

Add ApplicationListeners to be applied to the SpringApplication and registered with the ApplicationContext.

Parameters

listeners

the listeners to add