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

Deprecate AutowireCapableBeanFactory.createBean(Class, int, boolean) for consistent usage of createBean(Class) #30345

Closed
jhoeller opened this issue Apr 17, 2023 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@jhoeller
Copy link
Contributor

As a follow-up to #29855 and #30041, the createBean variant with autowire mode and dependency check arguments will be deprecated in 6.1, in favor of the createBean(Class) method with its default constructor resolution algorithm. The latter will also be consistently used internally now, e.g. in SpringBeanJobFactory for Quartz and SpringBeanContainer for Hibernate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant