[Enhancement] @Bean can only inject one dependency,can I inject many dependencies in one method? [SPR-17441] #21973
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: waiting-for-triage
An issue we've not yet triaged or decided on
Paleozoic opened SPR-17441 and commented
When inject two beans,such as the following code:
can I just write the code? such as:
sometimes we can not confirm how many beans to inject,we have to write complex
BeanDefinition
and thenregisterBeanDefinition
.if we have
@Beans
,everything is easy~Affects: 5.1.1
The text was updated successfully, but these errors were encountered: