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