public class QueryTemplateBeanDefinitionParser extends AbstractMuleBeanDefinitionParser
Modifier and Type | Field and Description |
---|---|
static String |
DYNAMIC_QUERY |
static String |
FILE_ATTRIBUTE |
static String |
IN_PARAM_ELEMENT |
static String |
PARAMETERIZED_QUERY |
static String[] |
QUERY_DEFINITION_ELEMENTS |
static String |
TEMPLATE_QUERY_REF |
ATTRIBUTE_CLASS, ATTRIBUTE_ID, ATTRIBUTE_NAME, ATTRIBUTE_REF, ATTRIBUTE_REF_SUFFIX, ATTRIBUTE_REFS, ATTRIBUTE_REFS_SUFFIX, beanPropertyConfiguration, DOMAIN_ROOT_ELEMENT, logger, ROOT_ELEMENT, singleton
Constructor and Description |
---|
QueryTemplateBeanDefinitionParser() |
Modifier and Type | Method and Description |
---|---|
protected void |
doParse(Element element,
org.springframework.beans.factory.xml.ParserContext context,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Parse the supplied
Element and populate the supplied
BeanDefinitionBuilder as required. |
protected Class<?> |
getBeanClass(Element element)
Determine the bean class corresponding to the supplied
Element . |
protected boolean |
isSingleton() |
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, checkElementNameUnique, createBeanDefinitionBuilder, getBeanAssembler, getBeanAssemblerFactory, getBeanClassFromAttribute, getBeanName, getClassConstraint, getClassInternal, getParserContext, getRegistry, isAllowClassAttribute, isTopLevel, muleParse, parseInternal, postProcess, preProcess, processMetadataAnnotations, processProperty, registerPostProcessor, registerPreProcessor, removeIgnored, resolveId, setAllowClassAttribute, setBeanAssemblerFactory, setClassConstraint, setIgnoredDefault, setParserContext, setRegistry
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
public static final String PARAMETERIZED_QUERY
public static final String DYNAMIC_QUERY
public static final String TEMPLATE_QUERY_REF
public static final String IN_PARAM_ELEMENT
public static final String FILE_ATTRIBUTE
public static final String[] QUERY_DEFINITION_ELEMENTS
protected Class<?> getBeanClass(Element element)
AbstractMuleBeanDefinitionParser
Element
.getBeanClass
in class AbstractMuleBeanDefinitionParser
element
- the Element
that is being parsedClass
of the bean that is being defined via parsing the supplied Element
(must not be null
)AbstractMuleBeanDefinitionParser.parseInternal(org.w3c.dom.Element,ParserContext)
protected boolean isSingleton()
isSingleton
in class AbstractMuleBeanDefinitionParser
protected void doParse(Element element, org.springframework.beans.factory.xml.ParserContext context, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
AbstractMuleBeanDefinitionParser
Element
and populate the supplied
BeanDefinitionBuilder
as required.
The default implementation delegates to the doParse
version
without ParserContext argument.
doParse
in class AbstractMuleBeanDefinitionParser
element
- the XML element being parsedcontext
- the object encapsulating the current state of the parsing
processbuilder
- used to define the BeanDefinition
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.