Class FlywayAutoConfiguration.FlywayConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration.FlywayConfiguration
- Enclosing class:
- FlywayAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(org.springframework.jdbc.support.JdbcUtils.class)
@ConditionalOnMissingBean(org.flywaydb.core.Flyway.class)
@EnableConfigurationProperties(FlywayProperties.class)
public static class FlywayAutoConfiguration.FlywayConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.flywaydb.core.Flyway
flyway
(FlywayProperties properties, ResourceLoader resourceLoader, ObjectProvider<DataSource> dataSource, ObjectProvider<DataSource> flywayDataSource, ObjectProvider<FlywayConfigurationCustomizer> fluentConfigurationCustomizers, ObjectProvider<org.flywaydb.core.api.migration.JavaMigration> javaMigrations, ObjectProvider<org.flywaydb.core.api.callback.Callback> callbacks) flywayInitializer
(org.flywaydb.core.Flyway flyway, ObjectProvider<FlywayMigrationStrategy> migrationStrategy)
-
Constructor Details
-
FlywayConfiguration
public FlywayConfiguration()
-
-
Method Details
-
flyway
@Bean public org.flywaydb.core.Flyway flyway(FlywayProperties properties, ResourceLoader resourceLoader, ObjectProvider<DataSource> dataSource, @FlywayDataSource ObjectProvider<DataSource> flywayDataSource, ObjectProvider<FlywayConfigurationCustomizer> fluentConfigurationCustomizers, ObjectProvider<org.flywaydb.core.api.migration.JavaMigration> javaMigrations, ObjectProvider<org.flywaydb.core.api.callback.Callback> callbacks) -
flywayInitializer
@Bean @ConditionalOnMissingBean public FlywayMigrationInitializer flywayInitializer(org.flywaydb.core.Flyway flyway, ObjectProvider<FlywayMigrationStrategy> migrationStrategy)
-