Spring for Apache Hadoop

org.springframework.data.hadoop.config
Class HadoopResourceLoaderRegistrarParser

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

public class HadoopResourceLoaderRegistrarParser
extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser

Namespace parser for 'resource-loader-registrar' element.

Author:
Janne Valkealahti

Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
HadoopResourceLoaderRegistrarParser()
           
 
Method Summary
protected  void doParse(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
           
protected  java.lang.Class<CustomResourceLoaderRegistrar> getBeanClass(org.w3c.dom.Element element)
           
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.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, getParentName, parseInternal
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HadoopResourceLoaderRegistrarParser

public HadoopResourceLoaderRegistrarParser()
Method Detail

getBeanClass

protected java.lang.Class<CustomResourceLoaderRegistrar> getBeanClass(org.w3c.dom.Element element)
Overrides:
getBeanClass in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser

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.AbstractSingleBeanDefinitionParser

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