@Configuration @ConditionalOnClass(value=liquibase.integration.spring.SpringLiquibase.class) @ConditionalOnBean(value=javax.sql.DataSource.class) @ConditionalOnProperty(prefix="spring.liquibase", name="enabled", matchIfMissing=true) public class LiquibaseAutoConfiguration extends Object
Auto-configuration
for Liquibase.Modifier and Type | Class and Description |
---|---|
static class |
LiquibaseAutoConfiguration.LiquibaseConfiguration |
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(org.springframework.beans.factory.ObjectProvider<List<liquibase.integration.spring.SpringLiquibase>> liquibases) |
@Bean public org.springframework.boot.autoconfigure.liquibase.LiquibaseSchemaManagementProvider liquibaseDefaultDdlModeProvider(org.springframework.beans.factory.ObjectProvider<List<liquibase.integration.spring.SpringLiquibase>> liquibases)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.