Spring依赖注入的三种方式

1.接口注入;

2.setter方法注入;

3.构造方法注入;

原文地址:https://www.cnblogs.com/lxcmyf/p/5726053.html