@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,
ResourceLoader resourceLoader,
ObjectProvider<DataSource> dataSource,
ObjectProvider<DataSource> liquibaseDataSource) |
Modifier and Type | Method and Description |
---|---|
void |
checkChangelogExists() |
liquibase.integration.spring.SpringLiquibase |
liquibase() |
public LiquibaseConfiguration(LiquibaseProperties properties, DataSourceProperties dataSourceProperties, ResourceLoader resourceLoader, ObjectProvider<DataSource> dataSource, @LiquibaseDataSource ObjectProvider<DataSource> liquibaseDataSource)
@PostConstruct public void checkChangelogExists()
@Bean public liquibase.integration.spring.SpringLiquibase liquibase()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.