public class DatabaseInitializationDependencyConfigurer
extends java.lang.Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar
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
.
DatabaseInitializerDetector
,
DependsOnDatabaseInitializationDetector
,
DependsOnDatabaseInitialization
Modifier and Type | Method and Description |
---|---|
void |
registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
registerBeanDefinitions
in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar