![]() |
1
6
见 this answer 关于如何获取applicationContext的实例。连接bean属性可以这样做:
不过,我建议使用常规的SpringBeans(可能是原型范围)而不是这种方法。 |