摘要:
这次以spring v5.3.9版本为例子,讲解如何搭建阅读spring的环境 1、源码下载 下载地址:https://github.com/spring-projects/spring-framework 建议用clone进行下载,因为zip包的方式在idea导入项目时会存在报错的问题。 2、gr 阅读全文
文章分类 - Spring
自定义 Bean 作用域
2024-01-27 22:38 by Spiderman25, 8 阅读, 收藏,
摘要:
https://blog.csdn.net/meism5/article/details/114685782 阅读全文
SimpleMetadataReader、MetadataReaderFactory中的设计模式
2024-01-24 15:15 by Spiderman25, 8 阅读, 收藏,
摘要:
访问者模式 ClassReader本身就已经具有一数据结构与方法,提供了一个给访问者visitor使用的方法,再通过visitor获得另外的信息 还有提供了获取reader的工厂,属于接口工厂模式 在ConfigurationClassParser中用到,也就是处理配置类时会用到,如componen 阅读全文
Spring 泛型处理之 ResolvableType
2024-01-23 16:05 by Spiderman25, 5 阅读, 收藏,
摘要:
https://blog.csdn.net/zzuhkp/article/details/107749148 阅读全文
ImportBeanDefinitionRegistrar与BeanDefinitionRegistryPostProcessor的区别
2024-01-19 16:31 by Spiderman25, 6 阅读, 收藏,
摘要:
https://www.jianshu.com/p/1ca5290cc9f1 阅读全文
常用类
2024-01-18 15:15 by Spiderman25, 5 阅读, 收藏,
摘要:
MergedAnnotations:接口,继承Iterable接口,合并了一个或多个注解的"集合"类https://blog.csdn.net/qq_42187215/article/details/129769784 取的优先级如下: 子类的注解>父类的注解 注解的注解>注解的注解的注解 子类的注 阅读全文
@PropertySource配置的用法
2022-05-29 16:59 by Spiderman25, 9 阅读, 收藏,
摘要:
https://blog.csdn.net/qq_37312838/article/details/108237678 阅读全文
@Conditional注解详解
2022-05-29 12:05 by Spiderman25, 11 阅读, 收藏,
摘要:
https://blog.csdn.net/zyhlwzy/article/details/90272659 阅读全文
@ComponentScan向Spring IOC容器中注入组件
2022-05-29 12:05 by Spiderman25, 10 阅读, 收藏,
摘要:
https://blog.csdn.net/zyhlwzy/article/details/89180214 阅读全文
一分钟了解spring之FactoryBean
2022-05-17 08:35 by Spiderman25, 12 阅读, 收藏,
摘要:
https://blog.51cto.com/u_4247649/2118353 阅读全文
spring5.3.x源码环境配置
2022-03-28 00:19 by Spiderman25, 118 阅读, 收藏,
摘要:
1、下载gradle2、配好GRADLE_HOME以及PATH3、IDEA中设置好gradle home,use gradle from设置为 'gradle-wrapper.properties' file4、gradle/wrapper/gradle-wrapper.properties修改di 阅读全文
WebMvcConfigurerr的重要配置
2022-02-27 12:07 by Spiderman25, 45 阅读, 收藏,
摘要:
HandlerMethodArgumentResolverhttps://blog.csdn.net/songzehao/article/details/99641594HttpMessageConverterhttps://www.cnblogs.com/hhhshct/p/9676604.htm 阅读全文
Spring事务注解@Transactional失效的八种场景分析
2022-01-10 09:44 by Spiderman25, 20 阅读, 收藏,
摘要:
https://m.jb51.net/article/212995.htm 阅读全文
Spring三级缓存
2021-11-07 17:50 by Spiderman25, 22 阅读, 收藏,
摘要:
https://blog.csdn.net/weixin_44181671/article/details/108630950https://www.jianshu.com/p/6cbbb6a9b3fd https://www.jianshu.com/p/811e99fc9e30 阅读全文
Spring之InstantiationAwareBeanPostProcessor接口介绍
2021-08-16 10:22 by Spiderman25, 24 阅读, 收藏,
摘要:
https://blog.csdn.net/qq_38526573/article/details/88091702 阅读全文
Spring之BeanPostProcessor(后置处理器)介绍
2021-08-16 10:03 by Spiderman25, 53 阅读, 收藏,
摘要:
https://blog.csdn.net/qq_38526573/article/details/88086752 构造方法 postProcessBeforeInitialization postConstruct afterPropertiesSet initMethod postProces 阅读全文
Spring高级进阶:BeanFactoryPostProcessor
2021-08-16 07:52 by Spiderman25, 27 阅读, 收藏,
摘要:
https://www.cnblogs.com/piepie/p/9061076.html 阅读全文
理解 Spring ApplicationListener
2021-07-10 10:52 by Spiderman25, 27 阅读, 收藏,
摘要:
https://blog.csdn.net/liyantianmin/article/details/81017960 阅读全文
@Autowired @Qualifier @Primary
2021-06-28 23:46 by Spiderman25, 44 阅读, 收藏,
摘要:
1、默认按类型注入2、如果有多个类型,按变量的名称来注入,如果还找不到则报错3、@Primary确定其为该类型默认注入的bean4、在使用@Autowired的地方加上@Qualifier("name"),可以设置注入指定名称的bean5、在@Bean @Component的地方使用@Qualifi 阅读全文
Spring循环依赖及解决方式
2020-12-14 00:39 by Spiderman25, 148 阅读, 收藏,
摘要:
https://www.cnblogs.com/better-farther-world2099/articles/11585939.html 阅读全文
浙公网安备 33010602011771号