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:
BeanDefinitionParser
- Direct Known Subclasses:
GroovyScriptParser
,ScriptParser
public abstract class AbstractScriptParser extends AbstractSingleBeanDefinitionParser
- Author:
- David Turanski, Artem Bilan
-
Field Summary
Fields Modifier and Type Field Description protected static String
LOCATION_ATTRIBUTE
protected static String
REFRESH_CHECK_DELAY_ATTRIBUTE
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description AbstractScriptParser()
-
Method Summary
Modifier and Type Method Description protected void
doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
protected void
postProcess(BeanDefinitionBuilder builder, Element element, 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, getBeanClassName, getParentName, parseInternal
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldParseNameAsAliases
-
Field Details
-
LOCATION_ATTRIBUTE
- See Also:
- Constant Field Values
-
REFRESH_CHECK_DELAY_ATTRIBUTE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
AbstractScriptParser
public AbstractScriptParser()
-
-
Method Details
-
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()- Overrides:
shouldGenerateIdAsFallback
in classAbstractBeanDefinitionParser
-
doParse
protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)- Overrides:
doParse
in classAbstractSingleBeanDefinitionParser
-
postProcess
protected void postProcess(BeanDefinitionBuilder builder, Element element, ParserContext parserContext)Subclasses may override this no-op method to provide additional configuration.- Parameters:
builder
- The builder.element
- The element.parserContext
- The parser context.
-