detect

abstract fun detect(beanFactory: ConfigurableListableBeanFactory): Set<String>

Detect beans defined in the given beanFactory that initialize a DataSource.

Return

names of the detected DataSource initializer beans, or an empty setif none were detected.

Parameters

beanFactory

bean factory to examine