public class JdbcOperationsDependsOnPostProcessor extends AbstractDependsOnBeanFactoryPostProcessor
BeanFactoryPostProcessor
that can be used to dynamically declare that all
JdbcOperations
beans should "depend on" one or more specific beans.BeanDefinition.setDependsOn(String[])
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
JdbcOperationsDependsOnPostProcessor(Class<?>... dependsOn)
Creates a new
JdbcOperationsDependsOnPostProcessor that will set up
dependencies upon beans with the given types. |
JdbcOperationsDependsOnPostProcessor(String... dependsOn)
Creates a new
JdbcOperationsDependsOnPostProcessor that will set up
dependencies upon beans with the given names. |
public JdbcOperationsDependsOnPostProcessor(String... dependsOn)
JdbcOperationsDependsOnPostProcessor
that will set up
dependencies upon beans with the given names.dependsOn
- names of the beans to depend uponpublic JdbcOperationsDependsOnPostProcessor(Class<?>... dependsOn)
JdbcOperationsDependsOnPostProcessor
that will set up
dependencies upon beans with the given types.dependsOn
- types of the beans to depend upon