摘要: 主要谈一下对这三个注解的简单理解:1.@Autowiredorg.springframework.beans.factory.annotation.AutowiredSpringBoot项目中常用。简单来说就是引入由Spring容器管理的bean。2.@Resourcejavax.annotatio 阅读全文
posted @ 2020-05-22 17:13 那些年的代码 阅读(1121) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/shuchen007/p/9202758.html https://blog.csdn.net/m8396017/article/details/51615806 https://www.cnblogs.com/dj66194/p/7654555.ht 阅读全文
posted @ 2020-05-22 14:40 那些年的代码 阅读(243) 评论(0) 推荐(0) 编辑
摘要: ref作为属性<bean id="students" class="com.yiwen.Students"> <property name="group" ref="group"></bean> <bean id="group" class="com.yiwen.Group" />ref作为标签lo 阅读全文
posted @ 2020-05-22 14:25 那些年的代码 阅读(1198) 评论(0) 推荐(0) 编辑