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