org.springframework.data.jpa.domain.support
Class AuditingBeanFactoryPostProcessor
java.lang.Object
org.springframework.data.jpa.domain.support.AuditingBeanFactoryPostProcessor
- All Implemented Interfaces:
- BeanFactoryPostProcessor
public class AuditingBeanFactoryPostProcessor
- extends Object
- implements 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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuditingBeanFactoryPostProcessor
public AuditingBeanFactoryPostProcessor()
postProcessBeanFactory
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
- Specified by:
postProcessBeanFactory in interface BeanFactoryPostProcessor
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.