{
return DefaultConnectionFactory.class;
}
@Override
protected void doParse(final Element element, final ParserContext context, final BeanDefinitionBuilder builder)
<BUG>{
builder.addPropertyValue("connectionConfig", parseConnectionConfig(null, element, true).getBeanDefinition());
if (element.hasAttribute("provider")) {
builder.addPropertyValue("provider", parseProvider(element).getBeanDefinition());</BUG>
}

{
@Override
protected String resolveId(
final Element element,
final AbstractBeanDefinition definition,
final ParserContext parserContext)
throws BeanDefinitionStoreException
{
final String idAttrValue = element.getAttribute("id");
return StringUtils.hasText(idAttrValue) ? idAttrValue : "connection-factory";
