2016年10月5日
摘要: <!-- 自动装配bean属性 1.byName 2.byType 3.constructor(这个不了解) 4.最佳自动装配(使用autowire="autodetect"):spring首先会尝试做constructor装配 如果没成功,会在尝试byType装配 5.默认自动装配: 如果xml文 阅读全文
posted @ 2016-10-05 11:14 x-cuke 阅读(26) 评论(0) 推荐(0)