Spring 五、使用构造器注入:实现constructor-arg标签注入ConstructorArgument
学习内容来自刘欣:从零开始造Spring
第四周: 实现构造函数注入
引入ConstructorArgument
如何找到合适的构造器: ConstructorResolver
//petstore-v3.xml
<bean id="petStore" class="org.litespring.service.v3.PetStoreService">
...
原创
2018-07-23 01:43:03 ·
5193 阅读 ·
0 评论