public class IsNewAwareAuditingHandlerBeanDefinitionParser extends AuditingHandlerBeanDefinitionParser
AuditingHandlerBeanDefinitionParser
that will register am IsNewAwareAuditingHandler
. Needs to get the
bean id of the MappingContext
it shall refer to.ID_ATTRIBUTE, NAME_ATTRIBUTE
Constructor and Description |
---|
IsNewAwareAuditingHandlerBeanDefinitionParser(String mappingContextBeanName)
Creates a new
IsNewAwareAuditingHandlerBeanDefinitionParser . |
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
getBeanClass(Element element) |
doParse, getResolvedBeanName, resolveId, shouldGenerateId
doParse, getBeanClassName, getParentName, parseInternal
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateIdAsFallback, shouldParseNameAsAliases
public IsNewAwareAuditingHandlerBeanDefinitionParser(String mappingContextBeanName)
IsNewAwareAuditingHandlerBeanDefinitionParser
.mappingContextBeanName
- must not be null or empty.protected Class<?> getBeanClass(Element element)
getBeanClass
in class AuditingHandlerBeanDefinitionParser
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.