Spring 弹簧动态布线

Spring 弹簧动态布线,spring,Spring,对于Spring中的接线(使用限定符注释),为什么Spring不允许限定符是动态值? 例如,我想根据在person对象中找到的值在person对象中注入一个notifier Implementation对象 对于这种情况,最好的解决方案是什么 谢谢

对于Spring中的接线(使用限定符注释),为什么Spring不允许限定符是动态值? 例如,我想根据在person对象中找到的值在person对象中注入一个notifier Implementation对象

对于这种情况,最好的解决方案是什么

谢谢