Polish
See gh-13790
This commit is contained in:
committed by
Stephane Nicoll
parent
ec2ebf52de
commit
f363fe7dd1
@@ -58,6 +58,12 @@ public abstract class AbstractDependsOnBeanFactoryPostProcessor
|
||||
this.dependsOn = dependsOn;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance with target bean class and dependencies.
|
||||
* @param beanClass target bean class
|
||||
* @param dependsOn dependencies
|
||||
* @since 2.0.4
|
||||
*/
|
||||
protected AbstractDependsOnBeanFactoryPostProcessor(Class<?> beanClass,
|
||||
String... dependsOn) {
|
||||
this(beanClass, null, dependsOn);
|
||||
|
||||
@@ -206,7 +206,7 @@ public class FlywayAutoConfiguration {
|
||||
}
|
||||
|
||||
/**
|
||||
* Additional configuration to ensure that {@link JdbcOperations} beans depend-on
|
||||
* Additional configuration to ensure that {@link JdbcOperations} beans depend on
|
||||
* the {@code flywayInitializer} bean.
|
||||
*/
|
||||
@Configuration
|
||||
@@ -240,16 +240,16 @@ public class FlywayAutoConfiguration {
|
||||
}
|
||||
|
||||
/**
|
||||
* Additional configuration to ensure that {@link JdbcOperations} beans depend-on the
|
||||
* Additional configuration to ensure that {@link JdbcOperations} beans depend on the
|
||||
* {@code flyway} bean.
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnClass(JdbcOperations.class)
|
||||
@ConditionalOnBean(JdbcOperations.class)
|
||||
protected static class FlywayJdbcDependencyConfiguration
|
||||
protected static class FlywayJdbcOperationsDependencyConfiguration
|
||||
extends JdbcOperationsDependsOnPostProcessor {
|
||||
|
||||
public FlywayJdbcDependencyConfiguration() {
|
||||
public FlywayJdbcOperationsDependencyConfiguration() {
|
||||
super("flyway");
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.springframework.orm.jpa.AbstractEntityManagerFactoryBean;
|
||||
import org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean;
|
||||
|
||||
/**
|
||||
* Additional configuration to ensure that {@link EntityManagerFactory} beans depend-on
|
||||
* Additional configuration to ensure that {@link EntityManagerFactory} beans depend on
|
||||
* the {@code hazelcastInstance} bean.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -192,7 +192,7 @@ public class LiquibaseAutoConfiguration {
|
||||
}
|
||||
|
||||
/**
|
||||
* Additional configuration to ensure that {@link JdbcOperations} beans depend-on the
|
||||
* Additional configuration to ensure that {@link JdbcOperations} beans depend on the
|
||||
* liquibase bean.
|
||||
*/
|
||||
@Configuration
|
||||
|
||||
Reference in New Issue
Block a user