代码改变世界

文章分类 -  Spring

自定义 Bean 作用域

2024-01-27 22:38 by Spiderman25, 2 阅读, 收藏, 编辑
摘要: https://blog.csdn.net/meism5/article/details/114685782 阅读全文

SimpleMetadataReader、MetadataReaderFactory中的设计模式

2024-01-24 15:15 by Spiderman25, 3 阅读, 收藏, 编辑
摘要: 访问者模式 ClassReader本身就已经具有一数据结构与方法,提供了一个给访问者visitor使用的方法,再通过visitor获得另外的信息 还有提供了获取reader的工厂,属于接口工厂模式 在ConfigurationClassParser中用到,也就是处理配置类时会用到,如componen 阅读全文

Spring 泛型处理之 ResolvableType

2024-01-23 16:05 by Spiderman25, 2 阅读, 收藏, 编辑
摘要: https://blog.csdn.net/zzuhkp/article/details/107749148 阅读全文

ImportBeanDefinitionRegistrar与BeanDefinitionRegistryPostProcessor的区别

2024-01-19 16:31 by Spiderman25, 2 阅读, 收藏, 编辑
摘要: https://www.jianshu.com/p/1ca5290cc9f1 阅读全文

常用类

2024-01-18 15:15 by Spiderman25, 3 阅读, 收藏, 编辑
摘要: MergedAnnotations:接口,继承Iterable接口,合并了一个或多个注解的"集合"类https://blog.csdn.net/qq_42187215/article/details/129769784 取的优先级如下: 子类的注解>父类的注解 注解的注解>注解的注解的注解 子类的注 阅读全文

@PropertySource配置的用法

2022-05-29 16:59 by Spiderman25, 7 阅读, 收藏, 编辑
摘要: https://blog.csdn.net/qq_37312838/article/details/108237678 阅读全文

@Conditional注解详解

2022-05-29 12:05 by Spiderman25, 8 阅读, 收藏, 编辑
摘要: https://blog.csdn.net/zyhlwzy/article/details/90272659 阅读全文

@ComponentScan向Spring IOC容器中注入组件

2022-05-29 12:05 by Spiderman25, 7 阅读, 收藏, 编辑
摘要: https://blog.csdn.net/zyhlwzy/article/details/89180214 阅读全文

一分钟了解spring之FactoryBean

2022-05-17 08:35 by Spiderman25, 9 阅读, 收藏, 编辑
摘要: https://blog.51cto.com/u_4247649/2118353 阅读全文

spring5.3.x源码环境配置

2022-03-28 00:19 by Spiderman25, 113 阅读, 收藏, 编辑
摘要: 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, 43 阅读, 收藏, 编辑
摘要: HandlerMethodArgumentResolverhttps://blog.csdn.net/songzehao/article/details/99641594HttpMessageConverterhttps://www.cnblogs.com/hhhshct/p/9676604.htm 阅读全文

Spring事务注解@Transactional失效的八种场景分析

2022-01-10 09:44 by Spiderman25, 17 阅读, 收藏, 编辑
摘要: https://m.jb51.net/article/212995.htm 阅读全文

Spring三级缓存

2021-11-07 17:50 by Spiderman25, 19 阅读, 收藏, 编辑
摘要: 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, 21 阅读, 收藏, 编辑
摘要: https://blog.csdn.net/qq_38526573/article/details/88091702 阅读全文

Spring之BeanPostProcessor(后置处理器)介绍

2021-08-16 10:03 by Spiderman25, 52 阅读, 收藏, 编辑
摘要: https://blog.csdn.net/qq_38526573/article/details/88086752 构造方法 postProcessBeforeInitialization postConstruct afterPropertiesSet initMethod postProces 阅读全文

Spring高级进阶:BeanFactoryPostProcessor

2021-08-16 07:52 by Spiderman25, 25 阅读, 收藏, 编辑
摘要: https://www.cnblogs.com/piepie/p/9061076.html 阅读全文

理解 Spring ApplicationListener

2021-07-10 10:52 by Spiderman25, 24 阅读, 收藏, 编辑
摘要: https://blog.csdn.net/liyantianmin/article/details/81017960 阅读全文

@Autowired @Qualifier @Primary

2021-06-28 23:46 by Spiderman25, 43 阅读, 收藏, 编辑
摘要: 1、默认按类型注入2、如果有多个类型,按变量的名称来注入,如果还找不到则报错3、@Primary确定其为该类型默认注入的bean4、在使用@Autowired的地方加上@Qualifier("name"),可以设置注入指定名称的bean5、在@Bean @Component的地方使用@Qualifi 阅读全文

Spring循环依赖及解决方式

2020-12-14 00:39 by Spiderman25, 147 阅读, 收藏, 编辑
摘要: https://www.cnblogs.com/better-farther-world2099/articles/11585939.html 阅读全文

Spring的两种动态代理:Jdk和Cglib 的区别和实现

2020-12-14 00:38 by Spiderman25, 64 阅读, 收藏, 编辑
摘要: https://www.cnblogs.com/leifei/p/8263448.html InvocationHandler中invoke方法中的第一个参数proxy的用途https://blog.csdn.net/bu2_int/article/details/60150319 阅读全文
点击右上角即可分享
微信分享提示