public class EntityManagerBeanDefinitionRegistrarPostProcessor extends Object implements BeanFactoryPostProcessor
BeanFactoryPostProcessor to register a SharedEntityManagerCreator for every
EntityManagerFactory bean definition found in the application context to enable autowiring
EntityManager instances into constructor arguments. Adds the EntityManagerFactory bean name as
qualifier to the EntityManager BeanDefinition to enable explicit references in case of multiple
EntityManagerFactory instances.| Constructor and Description |
|---|
EntityManagerBeanDefinitionRegistrarPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) |
public EntityManagerBeanDefinitionRegistrarPostProcessor()
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException
postProcessBeanFactory in interface BeanFactoryPostProcessorBeansExceptionCopyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.