listeners

Add some listeners to the application (listening for SpringApplication events as well as regular Spring events once the context is running). Any listeners that are also ApplicationContextInitializer will be added to the initializers automatically.

Return

the current builder

Parameters

listeners

some listeners to add