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