public class AuditingHandlerBeanDefinitionParser extends AbstractSingleBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
Constructor and Description |
---|
AuditingHandlerBeanDefinitionParser(String mappingContextBeanName)
Creates a new
AuditingHandlerBeanDefinitionParser to point to a MappingContext with the given bean
name. |
Modifier and Type | Method and Description |
---|---|
protected void |
doParse(Element element,
BeanDefinitionBuilder builder) |
protected Class<?> |
getBeanClass(Element element) |
String |
getResolvedBeanName()
Returns the name of the bean definition the
AuditingHandler was registered under. |
protected String |
resolveId(Element element,
AbstractBeanDefinition definition,
ParserContext parserContext) |
protected boolean |
shouldGenerateId() |
doParse, getBeanClassName, getParentName, parseInternal
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateIdAsFallback, shouldParseNameAsAliases
public AuditingHandlerBeanDefinitionParser(String mappingContextBeanName)
AuditingHandlerBeanDefinitionParser
to point to a MappingContext
with the given bean
name.mappingContextBeanName
- must not be null or empty.public String getResolvedBeanName()
AuditingHandler
was registered under.@Nonnull protected Class<?> getBeanClass(Element element)
getBeanClass
in class AbstractSingleBeanDefinitionParser
protected boolean shouldGenerateId()
shouldGenerateId
in class AbstractBeanDefinitionParser
protected void doParse(Element element, BeanDefinitionBuilder builder)
doParse
in class AbstractSingleBeanDefinitionParser
protected String resolveId(Element element, AbstractBeanDefinition definition, ParserContext parserContext)
resolveId
in class AbstractBeanDefinitionParser
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.