constructor-arg:通过构造函数注入。
property:通过setter对应的方法注入。
spring constructor-arg和property的区别
猜你喜欢
转载自blog.csdn.net/genghaihua/article/details/82558217
今日推荐
周排行