Class GroovyScriptParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.integration.scripting.config.AbstractScriptParser
org.springframework.integration.groovy.config.GroovyScriptParser
- All Implemented Interfaces:
BeanDefinitionParser
public class GroovyScriptParser extends AbstractScriptParser
Parser for the <groovy:script/> element.
- Since:
- 2.0
- Author:
- Mark Fisher, Oleg Zhurakousky, David Turanski, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.scripting.config.AbstractScriptParser
LOCATION_ATTRIBUTE, REFRESH_CHECK_DELAY_ATTRIBUTE
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description GroovyScriptParser()
-
Method Summary
Modifier and Type Method Description protected Class<?>
getBeanClass(Element element)
protected void
postProcess(BeanDefinitionBuilder builder, Element element, ParserContext parserContext)
Subclasses may override this no-op method to provide additional configuration.Methods inherited from class org.springframework.integration.scripting.config.AbstractScriptParser
doParse, shouldGenerateIdAsFallback
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, resolveId, shouldFireEvents, shouldGenerateId, shouldParseNameAsAliases
-
Constructor Details
-
GroovyScriptParser
public GroovyScriptParser()
-
-
Method Details
-
getBeanClass
- Overrides:
getBeanClass
in classAbstractSingleBeanDefinitionParser
-
postProcess
protected void postProcess(BeanDefinitionBuilder builder, Element element, ParserContext parserContext)Description copied from class:AbstractScriptParser
Subclasses may override this no-op method to provide additional configuration.- Overrides:
postProcess
in classAbstractScriptParser
- Parameters:
builder
- The builder.element
- The element.parserContext
- The parser context.
-