- All Implemented Interfaces:
- org.springframework.beans.factory.config.BeanFactoryPostProcessor
public class AuditingBeanFactoryPostProcessor
extends Object
implements org.springframework.beans.factory.config.BeanFactoryPostProcessor
BeanFactoryPostProcessor to add a depends-on from a
LocalEntityManagerFactoryBean or
LocalContainerEntityManagerFactoryBean towards the aspect bean configured via
<context:spring-configured>. This has to be done to ensure the aspect is up and running before
the EntityManagerFactory gets created as this already instantiates entity listeners and we
need to get injection into Configurable to work in them.
- Author:
- Oliver Gierke