-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
关于循环依赖 #24
Comments
当然,我还没看到高级篇,才看到了Aware这里 |
不用考虑prototype类型bean的循环依赖 |
@dajiao918 prototype类型的对象不存在循环依赖的问题,因为每次都容器中获取的prototype类型对象都是新new出来的,不是同一个对象 |
@wangxinyuanUESTC 还有问题吗? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我想问一下博主,如果当两个prototype类型的对象互相引用的话,循环依赖是不是还存在呢?我感觉您的代码只能解决单例的循环依赖
The text was updated successfully, but these errors were encountered: