org.springframework.yarn.config
Class LocalresourcesParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
org.springframework.yarn.config.LocalresourcesParser
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.BeanDefinitionParser
public class LocalresourcesParser
- extends org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
Simple namespace parser for yarn:localresources.
- Author:
- Janne Valkealahti
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE, NAME_ATTRIBUTE |
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 java.lang.Class<?> |
getBeanClass(org.w3c.dom.Element element)
|
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, 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 |
LocalresourcesParser
public LocalresourcesParser()
getBeanClass
protected java.lang.Class<?> getBeanClass(org.w3c.dom.Element element)
- Overrides:
getBeanClass
in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
defaultId
protected java.lang.String defaultId(org.springframework.beans.factory.xml.ParserContext context,
org.w3c.dom.Element element)
doParse
protected void doParse(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
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
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