How do you make a spring bean Primary only if another Primary bean does not exist

前端 未结 0 1946
悲&欢浪女
悲&欢浪女 2021-01-14 02:59

I am trying to create multiple beans that implement the same interface. I have a bean that I want to use as the "default" @Primary bean; however, since it acts as

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