Skip to content

Support for exposing additional object types in SmartFactoryBean #35101

Closed
@jhoeller

Description

@jhoeller

In preparation for #33414 where the arrangement requires a single FactoryBean (specifically, the JPA LocalContainerEntityManagerFactoryBean) which needs to expose qualified references of multiple types (EntityManagerFactory as well as EntityManager), the existing SmartFactoryBean contract needs to be extended with getObject(Class) and supportsType(Class) methods that the core container can call for determining supported FactoryBean object types.

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