Spring Integration

org.springframework.integration.scripting.config
Class AbstractScriptParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
          extended by 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

Field Summary
protected static java.lang.String LOCATION_ATTRIBUTE
           
protected static java.lang.String REFRESH_CHECK_DELAY_ATTRIBUTE
           
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
AbstractScriptParser()
           
 
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
 

Field Detail

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
Constructor Detail

AbstractScriptParser

public AbstractScriptParser()
Method Detail

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.


Spring Integration