Class DatabaseInitializationDependencyConfigurer
java.lang.Object
org.springframework.boot.sql.init.dependency.DatabaseInitializationDependencyConfigurer
- All Implemented Interfaces:
org.springframework.context.annotation.ImportBeanDefinitionRegistrar
public class DatabaseInitializationDependencyConfigurer
extends Object
implements org.springframework.context.annotation.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
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerBeanDefinitions
(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.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(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry) - Specified by:
registerBeanDefinitions
in interfaceorg.springframework.context.annotation.ImportBeanDefinitionRegistrar
-