Skip to content

Allow BeanRegistration target to be any arbitrary class name #29207

Closed
@snicoll

Description

@snicoll

The API of BeanRegistrationCodeFragments is a bit inconsistent at the moment. While everything is related to code generation, getTarget insists on providing a Class whereas all that's needed is a classname. For consistency getTarget should return a ClassName. This would allow something to generate bean registration in a package that does not exist yet.

This is a prerequisite for what we're investigating in #29019

Metadata

Metadata

Assignees

Labels

theme: aotAn issue related to Ahead-of-time processingtype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions