Spring define and inject a list of beans in addition to the ones gathered via classpath scanning

后端 未结 0 884
[愿得一人]
[愿得一人] 2021-01-06 02:08

I have a generic Calc interface and a few non-generic beans:

interface Calc {}

@Component class CalcA implements Calc {}
@         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题