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

Remove "final" from configuration callback methods in DelegatingWebMvcConfiguration

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 3.1 GA
    • Fix Version/s: 3.1.1
    • Component/s: Web
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      Extending directly directly from WebMvcConfigurationSupport allows overriding @Bean methods as well as configuration callback methods like addViewControllers(..), addInterceptors(..), and others. However, its sub-class DelegatingWebMvcConfiguration (which adds the ability to delegate to any number of WebMvcConfigurer classes) closes configuration callback methods for extension thus making it difficult to switch from WebMvcConfigurationSupport to DelegatingWebMvcConfiguration as the base class.

        Attachments

          Activity

            People

            • Assignee:
              rstoya05-aop Rossen Stoyanchev
              Reporter:
              rstoya05-aop Rossen Stoyanchev
              Last updater:
              Trevor Marshall
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 18 weeks, 5 days ago