摘要: 使用注解实现ioc @Component:实现Bean组件的定义 @Repository:标注dao类 @Service:标注业务类 @Controller:标注控制类 Bean的自动装配: @Autowired 默认按类型匹配 @Qualifier 指定Bean的名称 使用注解实现AOPAspec 阅读全文
posted @ 2019-08-03 16:27 梦珑 阅读(301) 评论(0) 推荐(0) 编辑