Class DatabaseInitializationDependencyConfigurer
java.lang.Object
org.springframework.boot.sql.init.dependency.DatabaseInitializationDependencyConfigurer
- All Implemented Interfaces:
ImportBeanDefinitionRegistrar
public class DatabaseInitializationDependencyConfigurer
extends Object
implements ImportBeanDefinitionRegistrar
Configures beans that depend upon SQL database initialization with
dependencies
upon beans that perform database
initialization. Intended for import
in configuration classes that define
database initialization beans or that define beans that require database initialization
to have completed before they are initialized.
Beans that initialize a database are identified by DatabaseInitializerDetectors
. Beans that depend upon database initialization are
identified by DependsOnDatabaseInitializationDetectors
.
- Since:
- 2.5.0
- Author:
- Andy Wilkinson
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerBeanDefinitions
(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
registerBeanDefinitions
-
Constructor Details
-
DatabaseInitializationDependencyConfigurer
public DatabaseInitializationDependencyConfigurer()
-
-
Method Details
-
registerBeanDefinitions
public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) - Specified by:
registerBeanDefinitions
in interfaceImportBeanDefinitionRegistrar
-