nebhale opened SPR-11314 and commented
Currently, there is no way to add an ApplicationContextInitializer to the DispatcherServlet's ApplicationContext at runtime (i.e. without explicit configuration on the application's part). This is possible to do on the root ApplicationContext using the contextInitializerClasses Servlet init-param.
Some mechanism (accessible from a ServletContainerInitializer) should be exposed in order to influence the DispatcherServlet's ApplicationContext and allow an ApplicationContextInitializer to be added.
Affects: 3.2.6, 4.0 GA
Reference URL: https://github.com/nebhale/spring-servlet3-autoreconfig-poc
Referenced from: commits 444b372, 5fb2665, 91881ff
Backported to: 3.2.7