spring-framework / org.springframework.beans.factory / NoUniqueBeanDefinitionException / getBeanNamesFound

getBeanNamesFound

@Nullable open fun getBeanNamesFound(): MutableCollection<String>

Return the names of all beans found when only one matching bean was expected. Note that this may be null if not specified at construction time.

Since
4.3

See Also
#getBeanType()