spring-framework / org.springframework.beans.factory / BeanFactoryUtils / beanNamesIncludingAncestors

beanNamesIncludingAncestors

open static fun beanNamesIncludingAncestors(lbf: ListableBeanFactory): Array<String>

Return all bean names in the factory, including ancestor factories.

Parameters

lbf - the bean factory

Return
the array of matching bean names, or an empty array if none

See Also
#beanNamesForTypeIncludingAncestors