Class IsNewAwareAuditingHandlerBeanDefinitionParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.data.auditing.config.AuditingHandlerBeanDefinitionParser
org.springframework.data.auditing.config.IsNewAwareAuditingHandlerBeanDefinitionParser
- All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
public class IsNewAwareAuditingHandlerBeanDefinitionParser
extends AuditingHandlerBeanDefinitionParser
AuditingHandlerBeanDefinitionParser
that will register am IsNewAwareAuditingHandler
. Needs to get the
bean id of the MappingContext
it shall refer to.- Since:
- 1.5
- Author:
- Oliver Gierke
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
ConstructorDescriptionIsNewAwareAuditingHandlerBeanDefinitionParser
(String mappingContextBeanName) Creates a newIsNewAwareAuditingHandlerBeanDefinitionParser
. -
Method Summary
Methods inherited from class org.springframework.data.auditing.config.AuditingHandlerBeanDefinitionParser
doParse, getResolvedBeanName, resolveId, shouldGenerateId
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, getParentName, parseInternal
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
IsNewAwareAuditingHandlerBeanDefinitionParser
Creates a newIsNewAwareAuditingHandlerBeanDefinitionParser
.- Parameters:
mappingContextBeanName
- must not be null or empty.
-
-
Method Details
-
getBeanClass
- Overrides:
getBeanClass
in classAuditingHandlerBeanDefinitionParser
-