Spring for Apache Hadoop

org.springframework.data.hadoop.config
Class AbstractImprovedSimpleBeanDefinitionParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
          extended by org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
              extended by org.springframework.data.hadoop.config.AbstractImprovedSimpleBeanDefinitionParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
Direct Known Subclasses:
AbstractPropertiesConfiguredBeanDefinitionParser, HiveRunnerParser, ScriptParser

public abstract class AbstractImprovedSimpleBeanDefinitionParser
extends org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser

Simple extension to AbstractSimpleBeanDefinitionParser that handles properties references (-ref).

Author:
Costin Leau

Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
AbstractImprovedSimpleBeanDefinitionParser()
           
 
Method Summary
protected  java.lang.String defaultId(org.springframework.beans.factory.xml.ParserContext context, org.w3c.dom.Element element)
           
protected  void doParse(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
           
protected  boolean isEligibleAttribute(java.lang.String attributeName)
           
protected  void registerBeanDefinition(org.springframework.beans.factory.config.BeanDefinitionHolder definition, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
           
protected  java.lang.String resolveId(org.w3c.dom.Element element, org.springframework.beans.factory.support.AbstractBeanDefinition definition, org.springframework.beans.factory.xml.ParserContext parserContext)
           
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
extractPropertyName, isEligibleAttribute, isEligibleAttribute, postProcess
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClass, getBeanClassName, getParentName, parseInternal
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractImprovedSimpleBeanDefinitionParser

public AbstractImprovedSimpleBeanDefinitionParser()
Method Detail

doParse

protected void doParse(org.w3c.dom.Element element,
                       org.springframework.beans.factory.xml.ParserContext parserContext,
                       org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Overrides:
doParse in class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser

registerBeanDefinition

protected void registerBeanDefinition(org.springframework.beans.factory.config.BeanDefinitionHolder definition,
                                      org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
Overrides:
registerBeanDefinition in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser

isEligibleAttribute

protected boolean isEligibleAttribute(java.lang.String attributeName)
Overrides:
isEligibleAttribute in class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser

defaultId

protected java.lang.String defaultId(org.springframework.beans.factory.xml.ParserContext context,
                                     org.w3c.dom.Element element)

resolveId

protected java.lang.String resolveId(org.w3c.dom.Element element,
                                     org.springframework.beans.factory.support.AbstractBeanDefinition definition,
                                     org.springframework.beans.factory.xml.ParserContext parserContext)
                              throws org.springframework.beans.factory.BeanDefinitionStoreException
Overrides:
resolveId in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
Throws:
org.springframework.beans.factory.BeanDefinitionStoreException

Spring for Apache Hadoop