Dave Syer opened SPR-11069 and commented
Add BeanFactory.getBeanNamesWithAnnotation(Class<?>, boolean, boolean)
for parity with getBeansOfType(...)
. The existing BeanFactory.getBeansWithAnnotation(Class<?>)
is useful, but causes eager initialization of beans and factory beans. It would be good to avoid that where necessary, especially in Condition
implementations.
No further details from SPR-11069