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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Class<?>
     
    protected void
    postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder, 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

    • GroovyScriptParser

      public GroovyScriptParser()
  • Method Details

    • getBeanClass

      protected Class<?> getBeanClass(Element element)
      Overrides:
      getBeanClass in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
    • postProcess

      protected void postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder, Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
      Overrides:
      postProcess in class org.springframework.integration.scripting.config.AbstractScriptParser