摘要: 1.@Import注解的定义 @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface Import { Class<?>[] value(); } 简单来说就是导入需要 阅读全文
posted @ 2021-04-06 20:10 迁承_0204 阅读(1746) 评论(0) 推荐(0) 编辑
摘要: 1.Configuration注解的介绍 用于修饰配置类,内部定义一些组件; 2.Configuration的两种模式 3.Configuration注解的定义 @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Docu 阅读全文
posted @ 2021-04-06 20:09 迁承_0204 阅读(3213) 评论(0) 推荐(0) 编辑