We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 069fd06 + 95b3a37 commit e0a5cc0Copy full SHA for e0a5cc0
docs/system-design/framework/spring/SpringBean.md
@@ -303,7 +303,7 @@ public class CustomerBeanPostProcessor implements BeanPostProcessor {
303
- 如果涉及到一些属性值 利用set方法设置一些属性值。
304
- 如果Bean实现了BeanNameAware接口,调用setBeanName()方法,传入Bean的名字。
305
- 如果Bean实现了BeanClassLoaderAware接口,调用setBeanClassLoader()方法,传入ClassLoader对象的实例。
306
-- 如果Bean实现了BeanFactoryAware接口,调用setBeanClassLoader()方法,传入ClassLoader对象的实例。
+- 如果Bean实现了BeanFactoryAware接口,调用setBeanFactory()方法,传入BeanFactory对象的实例。
307
- 与上面的类似,如果实现了其他*Aware接口,就调用相应的方法。
308
- 如果有和加载这个Bean的Spring容器相关的BeanPostProcessor对象,执行postProcessBeforeInitialization()方法
309
- 如果Bean实现了InitializingBean接口,执行afterPropertiesSet()方法。
0 commit comments