06 2023 档案

摘要:START 两个自定义注解: ```java @Documented @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Import(LogRegistry.class) public @interface Enable 阅读全文
posted @ 2023-06-08 12:27 maketime 阅读(211) 评论(0) 推荐(0) 编辑
摘要:# 引入 在使用SpringBoot开发时,最常用的注解有@Component、@Service、@Controller、@Configuration等。当类使用这些注解标记时,类会被Spring IOC容器管理,包括创建,填充属性和实例化。 但是Spring容器如何发现并将这些类放到容器进行管理呢 阅读全文
posted @ 2023-06-07 17:57 maketime 阅读(102) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示