public class DbConfigDefinitionParser extends MuleOrphanDefinitionParser
Modifier and Type | Field and Description |
---|---|
static String |
CONNECTION_PROPERTIES_ELEMENT_NAME |
static String |
DATA_SOURCE_REF_ATTRIBUTE |
static String |
DATA_TYPE_ELEMENT |
static String |
DATA_TYPES_ELEMENT |
static String |
DATABASE_ATTRIBUTE |
static String |
DRIVER_ATTRIBUTE |
static String |
HOST_ATTRIBUTE |
static String |
LOGIN_TIMEOUT_ATTRIBUTE |
static String |
PASSWORD_ATTRIBUTE |
static String |
PORT_ATTRIBUTE |
static String |
PROPERTY_ELEMENT_NAME |
static String |
TRANSACTION_ISOLATION_ATTRIBUTE |
static String |
TYPE_ID_ATTRIBUTE |
static String |
TYPE_NAME_ATTIRBUTE |
static String |
URL_ATTRIBUTE |
static String |
USE_XA_TRANSACTIONS_ATTRIBUTE |
static String |
USER_ATTRIBUTE |
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 |
---|
DbConfigDefinitionParser(Class<? extends DbConfigResolverFactoryBean> dbConfigFactoryClass,
CheckExclusiveAttributes exclusiveAttributes) |
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. |
assertMuleParent, parseInternal
getBeanClass, preProcess
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, checkElementNameUnique, createBeanDefinitionBuilder, getBeanAssembler, getBeanAssemblerFactory, getBeanClassFromAttribute, getBeanName, getClassConstraint, getClassInternal, getParserContext, getRegistry, isAllowClassAttribute, isSingleton, isTopLevel, muleParse, postProcess, processMetadataAnnotations, processProperty, registerPostProcessor, registerPreProcessor, removeIgnored, resolveId, setAllowClassAttribute, setBeanAssemblerFactory, setClassConstraint, setIgnoredDefault, setParserContext, setRegistry
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
public static final String CONNECTION_PROPERTIES_ELEMENT_NAME
public static final String PROPERTY_ELEMENT_NAME
public static final String DATA_TYPES_ELEMENT
public static final String DATA_TYPE_ELEMENT
public static final String TYPE_ID_ATTRIBUTE
public static final String TRANSACTION_ISOLATION_ATTRIBUTE
public static final String URL_ATTRIBUTE
public static final String USER_ATTRIBUTE
public static final String PASSWORD_ATTRIBUTE
public static final String DRIVER_ATTRIBUTE
public static final String HOST_ATTRIBUTE
public static final String PORT_ATTRIBUTE
public static final String DATABASE_ATTRIBUTE
public static final String LOGIN_TIMEOUT_ATTRIBUTE
public static final String DATA_SOURCE_REF_ATTRIBUTE
public static final String USE_XA_TRANSACTIONS_ATTRIBUTE
public static final String TYPE_NAME_ATTIRBUTE
public DbConfigDefinitionParser(Class<? extends DbConfigResolverFactoryBean> dbConfigFactoryClass, CheckExclusiveAttributes exclusiveAttributes)
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.