Spring Framework
  1. Spring Framework
  2. SPR-9056

Remove "final" from configuration callback methods in DelegatingWebMvcConfiguration

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Minor 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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Rossen Stoyanchev
            Reporter:
            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:
              2 years, 13 weeks, 1 day ago