- All Implemented Interfaces:
- org.springframework.beans.factory.config.BeanFactoryPostProcessor
public class EntityManagerBeanDefinitionRegistrarPostProcessor
extends Object
implements org.springframework.beans.factory.config.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.
- Author:
- Oliver Gierke