grails / grails-core

The Grails Web Application Framework
http://grails.org
Apache License 2.0
2.77k stars 951 forks source link

support SpringBootServletInitializer customization #10113

Open zyro23 opened 7 years ago

zyro23 commented 7 years ago

how to customize the SpringBootServletInitializer injected by BootInitializerClassInjector? for now, to apply a custom boot ApplicationListener, i ended up using META-INF/spring.factories but i would have prefered to use SpringApplicationBuilder.listeners().

if this is already possible please consider this just as a question, if not then it is a feature request.

n.b. because this is no bug report i did not stick to the issue template. also, i asked this in slack multiple times over a period of something like two weeks prior to opening this issue. unfortunately, no reply (yet).

graemerocher commented 7 years ago

At the moment there is no hook to configure the initializer