Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge multiple lists/maps/sets that share the same id into a single map/list [SPR-5892] #10561

Closed
spring-projects-issues opened this issue Jul 2, 2009 · 1 comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jul 2, 2009

Donny A. Wijaya opened SPR-5892 and commented

Add ability to merge multiple lists/maps/sets that share the same id into a map/list (through the use of flag).

Some frameworks require developers to provide a list of mapping location (inside classpath). This would not be a problem if everything is bundled in a war. But in modular deployment, we usually have the mapping files to be packaged inside jars where they belong. This new improvement would remove the responsibility to add every mapping file located in every new jar we deploy, into the the a mapping list resides in the main context file of the application.

For example:

JAR_A has a collectionContext.xml with a map/list with id "myList"
JAR_B has a collectionContext.xml with a map/list with id "myList"
WAR has an applicationContext.xml that imports classpath*:**/collectionContext.xml

This feature would allow the two maps to be merged into a map with id "myList".


Issue Links:

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Apr 3, 2011

Chris Beams commented

Duplicates #11189

@spring-projects-issues spring-projects-issues added type: enhancement A general enhancement in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue labels Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant