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