Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-11314

Provide a mechanism for adding ApplicationContextInitializers to DispatcherServlet's ApplicationContext

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 3.2.6, 4.0 GA
    • Fix Version/s: 3.2.7, 4.0.1
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            juergen.hoeller Juergen Hoeller
            Reporter:
            nebhale nebhale
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 37 weeks, 1 day ago