spring-reading icon indicating copy to clipboard operation
spring-reading copied to clipboard

涵盖了 Spring 框架的核心概念和关键功能,包括控制反转(IOC)容器的使用,面向切面编程(AOP)的原理与实践,事务管理的方式与实现,Spring MVC 的流程与控制器工作机制,以及 Spring 中数据访问、安全、Boot 自动...

Results 36 spring-reading issues
Sort by recently updated
recently updated
newest added

作者你好,对于SpringIoc这篇文章中发现个别错误问题以及个人疑问: 1.最佳实践模块中MyServiceB类定义了,应该是A和B 2.时序图的布局是否可以优化下,比如点击图片显示一个弹出层这样方便查看。现在的图片操作样式不方便阅读 3.MergedBeanDefinitionPostProcessor 这个合并处理器的用途是啥?一般什么场景下会用到这个? 4.为什么推荐使用@PostConstruct和@PreDestroy注解来做bean的初始化和销毁操作而不是init-method和destroy-method属性,它两不应该是同一套实现机制吗?

question

原文【StandardEnvironment 和 ConfigurableEnvironment这些类扩展了 AbstractEnvironment】,实际AbstractEnvironment 实现了 ConfigurableEnvironment 接口,所以感觉应该调整为 【StandardEnvironment 和 **_StandardServletEnvironment_**这些类扩展了 AbstractEnvironment】更合适

此处写的扫描带有指定注解的类。 ![2~LQ78C@2_{5LCP% %$T3V](https://github.com/xuchengsheng/spring-reading/assets/105070202/22ad6a51-1c72-42ea-ae81-c0b76da2b24a) 可是经过调试源码得出是扫描目标类的方法上是否带有指定注解 ![image](https://github.com/xuchengsheng/spring-reading/assets/105070202/35eaa913-d88b-4571-8bf8-b5c6a48c73f8) 目标类 ![image](https://github.com/xuchengsheng/spring-reading/assets/105070202/aae4943d-705c-4ed4-9a76-53db4fd33282)

PathMatchingResourcePatternResolverDemo移动到spring-resource-resourcePatternResolver目录下,和README.md不匹配

这个位置的类名应该为PropertiesPropertySource https://github.com/xuchengsheng/spring-reading/blob/master/spring-env/spring-env-propertySource/README.md#%E5%85%AD%E4%B8%BB%E8%A6%81%E5%AE%9E%E7%8E%B0 ![image](https://github.com/xuchengsheng/spring-reading/assets/86967718/ad664587-8a20-477a-a4fd-3d3126f6d94a)

🎉 恭喜!您的[项目](https://hellogithub.com/repository/f43b683fa175499ca3af4e9b1684e88b)已被 HelloGitHub 社区收录和推荐,现邀请您加入 HelloGitHub 徽章计划。加入后,您将获得以下特权: - 社区认可: 徽章代表你的项目已通过 HelloGitHub 社区的严格筛选,并获得推荐。 - 提高曝光: 佩戴徽章后,你的项目将获得更多推荐流量,吸引更多用户和贡献者。 - 增强互动: 用户可通过徽章快速了解项目,并与之互动(点赞、评论、收藏)。 - 收集反馈: 获取广大用户的真实反馈,持续优化你的项目。 - 特殊标识: 认证后,你的评论将有显著标识,并获得置顶优先权。 📌 [立即点击](https://hellogithub.com/repository/f43b683fa175499ca3af4e9b1684e88b/embed) 完成徽章佩戴,加入 HelloGitHub 徽章计划,让你的开源项目绽放更耀眼的光彩。 --- **HelloGitHub**,一个专注于发现、分享、推广开源项目的社区。自...

![image](https://github.com/xuchengsheng/spring-reading/assets/110721876/0781aa06-a810-47c9-b91b-86dfdff8d66b) 大佬,第一节Resource类介绍中的UML图,是否画错了啊?