Class MongoAuditingBeanDefinitionParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.data.mongodb.config.MongoAuditingBeanDefinitionParser
- All Implemented Interfaces:
BeanDefinitionParser
BeanDefinitionParser
to register a AuditingEntityCallback
to transparently set auditing information
on an entity.- Author:
- Oliver Gierke, Mark Paluch
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doParse
(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) protected Class<?>
getBeanClass
(Element element) protected boolean
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, resolveId, shouldFireEvents, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
MongoAuditingBeanDefinitionParser
public MongoAuditingBeanDefinitionParser()
-
-
Method Details
-
getBeanClass
- Overrides:
getBeanClass
in classAbstractSingleBeanDefinitionParser
-
shouldGenerateId
protected boolean shouldGenerateId()- Overrides:
shouldGenerateId
in classAbstractBeanDefinitionParser
-
doParse
- Overrides:
doParse
in classAbstractSingleBeanDefinitionParser
-