public interface DependsOnDataSourceInitializationDetector
DataSource initialization. Implementations should
be registered in META-INF/spring.factories under the key
org.springframework.boot.jdbc.init.DependsOnDataSourceInitializationDetector.| Modifier and Type | Method and Description |
|---|---|
Set<String> |
detect(ConfigurableListableBeanFactory beanFactory)
Detect beans defined in the given
beanFactory that depend on
DataSource initialization. |
Set<String> detect(ConfigurableListableBeanFactory beanFactory)
beanFactory that depend on
DataSource initialization. If no beans are detected, an empty set is
returned.beanFactory - bean factory to examineDataSource initialization