org.springframework.integration.scripting.config
Class AbstractScriptParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.integration.scripting.config.AbstractScriptParser
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.BeanDefinitionParser
- Direct Known Subclasses:
- GroovyScriptParser, ScriptParser
public abstract class AbstractScriptParser
- extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
- Author:
- David Turanski
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE, NAME_ATTRIBUTE |
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 abstract java.lang.String |
getBeanClassName(org.w3c.dom.Element element)
|
protected abstract java.lang.String |
getScriptSourceClassName()
|
protected void |
postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
Subclasses may override this no-op method to provide additional configuration. |
protected boolean |
shouldGenerateIdAsFallback()
|
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser |
doParse, getBeanClass, getParentName, parseInternal |
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCATION_ATTRIBUTE
protected static final java.lang.String LOCATION_ATTRIBUTE
- See Also:
- Constant Field Values
REFRESH_CHECK_DELAY_ATTRIBUTE
protected static final java.lang.String REFRESH_CHECK_DELAY_ATTRIBUTE
- See Also:
- Constant Field Values
AbstractScriptParser
public AbstractScriptParser()
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()
- Overrides:
shouldGenerateIdAsFallback
in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
getBeanClassName
protected abstract java.lang.String getBeanClassName(org.w3c.dom.Element element)
- Overrides:
getBeanClassName
in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
getScriptSourceClassName
protected abstract java.lang.String getScriptSourceClassName()
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
postProcess
protected void postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
- Subclasses may override this no-op method to provide additional configuration.