Spring Data Core

org.springframework.data.config
Class IsNewAwareAuditingHandlerBeanDefinitionParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
          extended by org.springframework.data.config.AuditingHandlerBeanDefinitionParser
              extended by org.springframework.data.config.IsNewAwareAuditingHandlerBeanDefinitionParser
All Implemented Interfaces:
BeanDefinitionParser

public class IsNewAwareAuditingHandlerBeanDefinitionParser
extends AuditingHandlerBeanDefinitionParser

AuditingHandlerBeanDefinitionParser that will register am IsNewAwareAuditingHandler. Needs to get the bean id of the

Author:
Oliver Gierke

Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
IsNewAwareAuditingHandlerBeanDefinitionParser(String isNewStrategyFactoryBeanId)
          Creates a new IsNewAwareAuditingHandlerBeanDefinitionParser.
 
Method Summary
protected  void doParse(Element element, BeanDefinitionBuilder builder)
           
protected  Class<?> getBeanClass(Element element)
           
 
Methods inherited from class org.springframework.data.config.AuditingHandlerBeanDefinitionParser
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, resolveId, shouldFireEvents, shouldGenerateIdAsFallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsNewAwareAuditingHandlerBeanDefinitionParser

public IsNewAwareAuditingHandlerBeanDefinitionParser(String isNewStrategyFactoryBeanId)
Creates a new IsNewAwareAuditingHandlerBeanDefinitionParser.

Parameters:
isNewStrategyFactoryBeanId - must not be null or empty.
Method Detail

getBeanClass

protected Class<?> getBeanClass(Element element)
Overrides:
getBeanClass in class AuditingHandlerBeanDefinitionParser

doParse

protected void doParse(Element element,
                       BeanDefinitionBuilder builder)
Overrides:
doParse in class AuditingHandlerBeanDefinitionParser

Spring Data Core

Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.