Class AuditingBeanFactoryPostProcessor
java.lang.Object
org.springframework.data.jpa.domain.support.AuditingBeanFactoryPostProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor
public class AuditingBeanFactoryPostProcessor
extends Object
implements org.springframework.beans.factory.config.BeanFactoryPostProcessor
BeanFactoryPostProcessor that ensures that the AnnotationBeanConfigurerAspect 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, Thomas Darimont
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpostProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
-
Field Details
-
BEAN_CONFIGURER_ASPECT_BEAN_NAME
- See Also:
-
-
Constructor Details
-
AuditingBeanFactoryPostProcessor
public AuditingBeanFactoryPostProcessor()
-
-
Method Details
-
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) - Specified by:
postProcessBeanFactoryin interfaceorg.springframework.beans.factory.config.BeanFactoryPostProcessor
-