@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.jdbc.core.ConnectionCallback.class) @ConditionalOnMissingBean(value=liquibase.integration.spring.SpringLiquibase.class) @EnableConfigurationProperties(value={DataSourceProperties.class,LiquibaseProperties.class}) public static class LiquibaseAutoConfiguration.LiquibaseConfiguration extends Object
Constructor and Description |
---|
LiquibaseConfiguration(LiquibaseProperties properties) |
Modifier and Type | Method and Description |
---|---|
liquibase.integration.spring.SpringLiquibase |
liquibase(DataSourceProperties dataSourceProperties,
ObjectProvider<DataSource> dataSource,
ObjectProvider<DataSource> liquibaseDataSource) |
public LiquibaseConfiguration(LiquibaseProperties properties)
@Bean public liquibase.integration.spring.SpringLiquibase liquibase(DataSourceProperties dataSourceProperties, ObjectProvider<DataSource> dataSource, @LiquibaseDataSource ObjectProvider<DataSource> liquibaseDataSource)