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:
org.springframework.beans.factory.xml.BeanDefinitionParser

public class GroovyScriptParser
extends org.springframework.integration.scripting.config.AbstractScriptParser
Parser for the <groovy:script/> element.
Since:
2.0
  • 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 java.lang.Class<?> getBeanClass​(org.w3c.dom.Element element)  
    protected void postProcess​(org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)  

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getBeanClass

      protected java.lang.Class<?> getBeanClass​(org.w3c.dom.Element element)
      Overrides:
      getBeanClass 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)
      Overrides:
      postProcess in class org.springframework.integration.scripting.config.AbstractScriptParser