SpringSource/spring-framework — pull request #218 by philwebb (2013-01-23 01:54:35+00:00)
Title: Consider primary attribute with getBean(Class)

Update DefaultListableBeanFactory.getBean(Class beanClass) to
consider the 'primary' attribute of bean definitions. This makes
getBean() behave in the same way as autowiring.

Issue: