You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make spring support like CDI @Produces (for Array/Map/Collection inject) [SPR-11269] #15894
This is more or less a duplicate of our 4.3 work towards refining our injection matching algorithm. We do it using Spring's common annotation style (@Bean etc), simply allowing to match beans which are collections themselves now. This is functionally equivalent to CDI's @Produces, just bound to factory methods and naturally integrated with all of Spring's other matching options.
Please give a recent 4.3.0.BUILD-SNAPSHOT a try there. RC1 is coming up in late March.
Activity
spring-projects-issues commentedon Feb 14, 2016
Gaurav Rawat commented
This will be pretty cool if we can have CDI
@producessupport specially for injecting methods .spring-projects-issues commentedon Feb 14, 2016
Juergen Hoeller commented
This is more or less a duplicate of our 4.3 work towards refining our injection matching algorithm. We do it using Spring's common annotation style (
@Beanetc), simply allowing to match beans which are collections themselves now. This is functionally equivalent to CDI's@Produces, just bound to factory methods and naturally integrated with all of Spring's other matching options.Please give a recent
4.3.0.BUILD-SNAPSHOTa try there. RC1 is coming up in late March.Juergen
spring-projects-issues commentedon Feb 14, 2016
Gaurav Rawat commented
OK
@beannote works on non configuration classes now great. Let me give it a try . thanks