@Configuration @ConditionalOnClass(value={liquibase.integration.spring.SpringLiquibase.class,liquibase.change.DatabaseChange.class}) @ConditionalOnBean(value=javax.sql.DataSource.class) @ConditionalOnProperty(prefix="spring.liquibase", name="enabled", matchIfMissing=true) @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. |
Constructor and Description |
---|
LiquibaseAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.autoconfigure.liquibase.LiquibaseSchemaManagementProvider |
liquibaseDefaultDdlModeProvider(ObjectProvider<List<liquibase.integration.spring.SpringLiquibase>> liquibases) |
@Bean public org.springframework.boot.autoconfigure.liquibase.LiquibaseSchemaManagementProvider liquibaseDefaultDdlModeProvider(ObjectProvider<List<liquibase.integration.spring.SpringLiquibase>> liquibases)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.