public abstract class AbstractScriptParser extends AbstractSingleBeanDefinitionParser
Modifier and Type | Field and Description |
---|---|
protected static String |
LOCATION_ATTRIBUTE |
protected static String |
REFRESH_CHECK_DELAY_ATTRIBUTE |
ID_ATTRIBUTE, NAME_ATTRIBUTE
Constructor and Description |
---|
AbstractScriptParser() |
Modifier and Type | Method and Description |
---|---|
protected void |
doParse(Element element,
ParserContext parserContext,
BeanDefinitionBuilder builder) |
protected abstract String |
getBeanClassName(Element element) |
protected abstract String |
getScriptSourceClassName() |
protected void |
postProcess(BeanDefinitionBuilder builder,
Element element,
ParserContext parserContext)
Subclasses may override this no-op method to provide additional configuration.
|
protected boolean |
shouldGenerateIdAsFallback() |
doParse, getBeanClass, getParentName, parseInternal
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId
protected static final String LOCATION_ATTRIBUTE
protected static final String REFRESH_CHECK_DELAY_ATTRIBUTE
protected boolean shouldGenerateIdAsFallback()
shouldGenerateIdAsFallback
in class AbstractBeanDefinitionParser
protected abstract String getBeanClassName(Element element)
getBeanClassName
in class AbstractSingleBeanDefinitionParser
protected abstract String getScriptSourceClassName()
protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
doParse
in class AbstractSingleBeanDefinitionParser
protected void postProcess(BeanDefinitionBuilder builder, Element element, ParserContext parserContext)
builder
- The builder.element
- The element.parserContext
- The parser context.