Prior to this change, (Context)SingletonBeanFactoryLocator used BeanFactoryUtils#beanOfType(ListableBeanFactory, Class) to locate the bean of type BeanFactory. The more modern approach is to use BeanFactory#getBean(Class), which removes a dependency on ListableBeanFactory interface while at the same time opening the implementation up to respecting autowiring exclusions, primary metadata, etc. Issue: SPR-8489master
parent
b5b2add5cf
commit
4262aed9c8
1 changed files with 1 additions and 8 deletions
Loading…
Reference in new issue