Skip to content

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

Closed
@jhoeller

Description

@jhoeller

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.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions