摘要: 目录🧐 @Configuration 和 @Import 的核心区别详细解释1. @Configuration (配置类)2. @Import (引入)参考资料 🧐 @Configuration 和 @Import 的核心区别 特性 @Configuration @Import 主要目的 标记一 阅读全文
posted @ 2025-10-20 22:07 向着朝阳 阅读(8) 评论(0) 推荐(0)
摘要: 目录@Aspect详细解释1. 纯 Spring Framework (非 Spring Boot)@EnableAspectJAutoProxy2. Spring Boot 应用通知类型 @Around @Before @After @AfterThrowing 区别核心区别:对目标方法的控制能力 阅读全文
posted @ 2025-10-20 19:37 向着朝阳 阅读(9) 评论(0) 推荐(0)
摘要: 目录参考资料 参考资料 https://blog.csdn.net/a315157973/article/details/104288598 阅读全文
posted @ 2025-10-20 11:41 向着朝阳 阅读(4) 评论(0) 推荐(0)
摘要: 目录背景和价值参考资料 背景和价值 if (applicationContext instanceof ConfigurableApplicationContext) { ConfigurableApplicationContext configurableApplicationContext = 阅读全文
posted @ 2025-10-20 11:39 向着朝阳 阅读(1) 评论(0) 推荐(0)
摘要: 获取某个类或者方法是否有自定义注解demo seata 2.3.0 GlobalTransactionalInterceptorParser protected boolean existsAnnotation(Class<?>... classes) { boolean result = fals 阅读全文
posted @ 2025-10-20 11:26 向着朝阳 阅读(2) 评论(0) 推荐(0)
摘要: 目录Set 不重复的无序 不重复的 HashSet有序Set非线程安全 LinkedHashSet有序线程安全 ConcurrentLinkedHashSet自定义排序规则SetTreeSet (非线程安全)ConcurrentSkipListSet (线程安全)LinkedHashSet vs T 阅读全文
posted @ 2025-10-20 10:22 向着朝阳 阅读(5) 评论(0) 推荐(0)