Skip to content

Eliminate duplicate code between ConfigurationClassApplicationContext and ConfigurationClassWebApplicationContext [SPR-6186] #10854

Closed

Description

@spring-projects-issues

Chris Beams opened SPR-6186 and commented

Due to multiple inheritance issues, CCAC and CCWAC cannot share @Configuration class processing behavior through a common superclass. Factor out a static util (probably as an inner class of CCAC) and refererence it from CCWAC as necessary to eliminate duplicate code.


This issue is a sub-task of #10353

Referenced from: commits d020d73, cbadf35

Activity

  1. spring-projects-issues commented on Oct 5, 2009

    @spring-projects-issues
    CollaboratorAuthor

    Chris Beams commented

    Introduced ConfigurationClassApplicationContext.Delegate to encapsulate behavior common to the two app context implementations.

  2. added
    in: core
    type: task
    on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coretype: task

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions