Interface DependsOnDatabaseInitializationDetector

All Known Implementing Classes:
AbstractBeansOfTypeDependsOnDatabaseInitializationDetector

public interface DependsOnDatabaseInitializationDetector
Detects beans that depend on database initialization. Implementations should be registered in META-INF/spring.factories under the key org.springframework.boot.sql.init.dependency.DependsOnDatabaseInitializationDetector.
Since:
2.5.0
Author:
Andy Wilkinson
  • Method Summary

    Modifier and Type
    Method
    Description
    Detect beans defined in the given beanFactory that depend on database initialization.
  • Method Details

    • detect

      Detect beans defined in the given beanFactory that depend on database initialization. If no beans are detected, an empty set is returned.
      Parameters:
      beanFactory - bean factory to examine
      Returns:
      names of any beans that depend upon database initialization