-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
RuntimeHintsBeanFactoryInitializationAotProcessor has a need for retrieving all @ImportRuntimeHints annotations for a given bean, coming from its factory method and/or from the bean class hierarchy (most commonly, the configuration class hierarchy). This is currently using an algorithm derived from DefaultListableBeanFactory.findMergedAnnotationOnBean. For co-maintenance and for potential reuse, this variant of the algorithm should rather live in DefaultListableBeanFactory itself, accessible through a findAllAnnotationsOnBean method on the ListableBeanFactory interface.
snicoll
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement