Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于ConfigurableBeanFactory和ConfigurableListableBeanFactory #58

Open
Linweixinyo opened this issue May 25, 2023 · 1 comment
Open

Comments

@Linweixinyo
Copy link

作者你好,我在查看代码的过程当中,发现ConfigurableBeanFactory和ConfigurableListableBeanFactory这两个接口当中都存在addBeanPostProcessor接口方法,但是ConfigurableBeanFactory和ConfigurableListableBeanFactory这两个接口存在继承关系,想请问作者这里是否存在冗余呢?能否去掉ConfigurableListableBeanFactory中的addBeanPostProcessor接口方法呢?
微信截图_20230525220521
微信截图_20230525220454

@DerekYRC
Copy link
Owner

@Linweixinyo 确实冗余了,spring源码中ConfigurableListableBeanFactory接口没有addBeanPostProcessor方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants