Class EntityManagerBeanDefinitionRegistrarPostProcessor

java.lang.Object
org.springframework.data.jpa.repository.support.EntityManagerBeanDefinitionRegistrarPostProcessor
All Implemented Interfaces:
BeanFactoryPostProcessor, Ordered

public class EntityManagerBeanDefinitionRegistrarPostProcessor extends Object implements BeanFactoryPostProcessor, Ordered
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.
Author:
Oliver Gierke, RĂ©da Housni Alaoui, Mark Paluch, Donghun Shin