Skip to content

Expose registerBean(Class<T>, Supplier<T>) outside of GenericApplicationContext #22457

@snicoll

Description

@snicoll

Affects: 5.1.5.RELEASE

We're trying to use the register bean facility using a Supplier but the current implementation is tied to GenericApplicationContext. Some of our contexts do not inherit from it which prevents us to reuse the feature.

Is there a plan to make that available higher in the stack? See spring-projects/spring-boot#16011

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions