Introduce findAllAnnotationsOnBean variant on ListableBeanFactory #29446
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
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 fromDefaultListableBeanFactory.findMergedAnnotationOnBean
. For co-maintenance and for potential reuse, this variant of the algorithm should rather live inDefaultListableBeanFactory
itself, accessible through afindAllAnnotationsOnBean
method on theListableBeanFactory
interface.The text was updated successfully, but these errors were encountered: