Spring Data JPA

org.springframework.data.jpa.domain.support
Class AuditingBeanFactoryPostProcessor

java.lang.Object
  extended by org.springframework.data.jpa.domain.support.AuditingBeanFactoryPostProcessor
All Implemented Interfaces:
BeanFactoryPostProcessor

public class AuditingBeanFactoryPostProcessor
extends Object
implements 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
static String BEAN_CONFIGURER_ASPECT_BEAN_NAME
           
 
Constructor Summary
AuditingBeanFactoryPostProcessor()
           
 
Method Summary
 void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_CONFIGURER_ASPECT_BEAN_NAME

public static final String BEAN_CONFIGURER_ASPECT_BEAN_NAME
See Also:
Constant Field Values
Constructor Detail

AuditingBeanFactoryPostProcessor

public AuditingBeanFactoryPostProcessor()
Method Detail

postProcessBeanFactory

public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
Specified by:
postProcessBeanFactory in interface BeanFactoryPostProcessor

Spring Data JPA

Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.