@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={liquibase.integration.spring.SpringLiquibase.class,liquibase.change.DatabaseChange.class}) @ConditionalOnProperty(prefix="spring.liquibase", name="enabled", matchIfMissing=true) @Conditional(value=org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration.LiquibaseDataSourceCondition.class) @AutoConfigureAfter(value={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class}) public class LiquibaseAutoConfiguration extends Object
Auto-configuration
for Liquibase.Modifier and Type | Class and Description |
---|---|
static class |
LiquibaseAutoConfiguration.LiquibaseConfiguration |
protected static class |
LiquibaseAutoConfiguration.LiquibaseJdbcOperationsDependencyConfiguration
Additional configuration to ensure that
JdbcOperations beans depend on the
liquibase bean. |
protected static class |
LiquibaseAutoConfiguration.LiquibaseJpaDependencyConfiguration
Additional configuration to ensure that
EntityManagerFactory beans depend
on the liquibase bean. |
protected static class |
LiquibaseAutoConfiguration.LiquibaseNamedParameterJdbcOperationsDependencyConfiguration
Additional configuration to ensure that
NamedParameterJdbcOperations beans
depend on the liquibase bean. |
Constructor and Description |
---|
LiquibaseAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.autoconfigure.liquibase.LiquibaseSchemaManagementProvider |
liquibaseDefaultDdlModeProvider(org.springframework.beans.factory.ObjectProvider<liquibase.integration.spring.SpringLiquibase> liquibases) |
@Bean public org.springframework.boot.autoconfigure.liquibase.LiquibaseSchemaManagementProvider liquibaseDefaultDdlModeProvider(org.springframework.beans.factory.ObjectProvider<liquibase.integration.spring.SpringLiquibase> liquibases)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.