Skip to content

Contribute init/destroy lifecycle introspection hints for registered beans #29246

Closed
@bclozel

Description

@bclozel

Once #29205 is applied, several tests will start failing as Framework consistently uses ReflectionUtils#findMethod on registered beans for various reasons (finding init/detroy methods by name, looking for annotations). The existing infrastructure already adds targeted introspection/invocation hints, but this change takes a broader approach where we recognize that beans are very likely to be introspected by framework infrastructure.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)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