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