SpringBoot11(@Improt注解)
摘要:
一、介绍@improt 1-@Import注解的作用是什么? 通过导入的方式,来实现把"实例"加入Spring容器中的功能。 2-@Import注解能够导入哪些类? 可以导入普通类; 可以和@Configuration注解的类搭配使用; 可以和实现了ImportSelector和ImportBean 阅读全文
posted @ 2022-11-16 21:57 陈嘻嘻- 阅读(87) 评论(0) 推荐(0) 编辑