@Configuration @ConditionalOnMissingBean(value=liquibase.integration.spring.SpringLiquibase.class) @EnableConfigurationProperties(value={DataSourceProperties.class,LiquibaseProperties.class}) @Import(value=LiquibaseAutoConfiguration.LiquibaseJpaDependencyConfiguration.class) public static class LiquibaseAutoConfiguration.LiquibaseConfiguration extends Object
Constructor and Description |
---|
LiquibaseConfiguration(LiquibaseProperties properties,
DataSourceProperties dataSourceProperties,
org.springframework.core.io.ResourceLoader resourceLoader,
org.springframework.beans.factory.ObjectProvider<DataSource> dataSource,
org.springframework.beans.factory.ObjectProvider<DataSource> liquibaseDataSource) |
Modifier and Type | Method and Description |
---|---|
void |
checkChangelogExists() |
liquibase.integration.spring.SpringLiquibase |
liquibase() |
public LiquibaseConfiguration(LiquibaseProperties properties, DataSourceProperties dataSourceProperties, org.springframework.core.io.ResourceLoader resourceLoader, org.springframework.beans.factory.ObjectProvider<DataSource> dataSource, @LiquibaseDataSource org.springframework.beans.factory.ObjectProvider<DataSource> liquibaseDataSource)
@PostConstruct public void checkChangelogExists()
@Bean public liquibase.integration.spring.SpringLiquibase liquibase()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.