Skip to content

Add MapCombiningFactoryBean [SPR-8835] #13477

Closed

Description

@spring-projects-issues

Matthew T. Adams opened SPR-8835 and commented

I couldn't find a factory bean that combines maps, and the feature of merging collections among parent & child beans (http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/beans.html#beans-collection-elements) didn't suit my needs, so I created MapCombiningFactoryBean. Please add to Spring core if you see fit.


Affects: 2.0.9, 2.5.6, 3.0.6, 3.1 RC1

Attachments:

Issue Links:

Activity

  1. spring-projects-issues commented on Nov 12, 2011

    @spring-projects-issues
    CollaboratorAuthor

    Chris Beams commented

    Hi Matthew,

    Will #11189, when resolved provide what you need?

  2. spring-projects-issues commented on Apr 12, 2012

    @spring-projects-issues
    CollaboratorAuthor

    Matthew T. Adams commented

    Sorry, just saw this. Provided that #11189 provides for ordering in a manner similar to this attachment, then yes, #11189 would provide a solution. It was difficult for me to tell if #11189 would provide for map ordering with a last-one-wins strategy, which is what MapCombiningFactoryBean employs.

  3. spring-projects-issues commented on Apr 13, 2012

    @spring-projects-issues
    CollaboratorAuthor

    Chris Beams commented

    Resolving as duplicate of #11189. @Matthew, you might want to add a comment about ordering semantics, etc on that issue.

  4. added
    type: enhancement
    in: core
    status: duplicate
    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: corestatus: duplicatetype: enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions