public class IsNewAwareAuditingHandlerBeanDefinitionParser extends AuditingHandlerBeanDefinitionParser
AuditingHandlerBeanDefinitionParser
that will register am IsNewAwareAuditingHandler
. Needs to get the
bean id of theID_ATTRIBUTE, NAME_ATTRIBUTE
Constructor and Description |
---|
IsNewAwareAuditingHandlerBeanDefinitionParser(String isNewStrategyFactoryBeanId)
Creates a new
IsNewAwareAuditingHandlerBeanDefinitionParser . |
Modifier and Type | Method and Description |
---|---|
protected void |
doParse(Element element,
BeanDefinitionBuilder builder) |
protected Class<?> |
getBeanClass(Element element) |
shouldGenerateId
doParse, getBeanClassName, getParentName, parseInternal
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateIdAsFallback
public IsNewAwareAuditingHandlerBeanDefinitionParser(String isNewStrategyFactoryBeanId)
IsNewAwareAuditingHandlerBeanDefinitionParser
.isNewStrategyFactoryBeanId
- must not be null or empty.protected Class<?> getBeanClass(Element element)
getBeanClass
in class AuditingHandlerBeanDefinitionParser
protected void doParse(Element element, BeanDefinitionBuilder builder)
doParse
in class AuditingHandlerBeanDefinitionParser
Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.