Skip to content

Commit e0a5cc0

Browse files
committed
Merge branch 'master' of https://github.com/Snailclimb/JavaGuide
2 parents 069fd06 + 95b3a37 commit e0a5cc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/system-design/framework/spring/SpringBean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public class CustomerBeanPostProcessor implements BeanPostProcessor {
303303
- 如果涉及到一些属性值 利用set方法设置一些属性值。
304304
- 如果Bean实现了BeanNameAware接口,调用setBeanName()方法,传入Bean的名字。
305305
- 如果Bean实现了BeanClassLoaderAware接口,调用setBeanClassLoader()方法,传入ClassLoader对象的实例。
306-
- 如果Bean实现了BeanFactoryAware接口,调用setBeanClassLoader()方法,传入ClassLoader对象的实例
306+
- 如果Bean实现了BeanFactoryAware接口,调用setBeanFactory()方法,传入BeanFactory对象的实例
307307
- 与上面的类似,如果实现了其他*Aware接口,就调用相应的方法。
308308
- 如果有和加载这个Bean的Spring容器相关的BeanPostProcessor对象,执行postProcessBeforeInitialization()方法
309309
- 如果Bean实现了InitializingBean接口,执行afterPropertiesSet()方法。

0 commit comments

Comments
 (0)