@Configuration(proxyBeanMethods=false) @ConditionalOnMissingBean(value=org.flywaydb.core.Flyway.class) @EnableConfigurationProperties(value=FlywayProperties.class) public static class FlywayAutoConfiguration.FlywayConfiguration extends Object
Constructor and Description |
---|
FlywayConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.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) |
FlywayMigrationInitializer |
flywayInitializer(org.flywaydb.core.Flyway flyway,
ObjectProvider<FlywayMigrationStrategy> migrationStrategy) |
@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)
@Bean @ConditionalOnMissingBean public FlywayMigrationInitializer flywayInitializer(org.flywaydb.core.Flyway flyway, ObjectProvider<FlywayMigrationStrategy> migrationStrategy)