docs: private static AbstractBeanDefinition createDataSourceFactoryBeanDefinition(
  			Element element) {
  		BeanDefinitionBuilder datasourceFactoryBuilder = BeanDefinitionBuilder
  				.rootBeanDefinition(TomcatJdbcDataSourceFactory.class);
  		Element poolAttributes = DomUtils.getChildElementByTagName(element,
  				"pool-attributes");
  		if (poolAttributes != null) {
  			NamedNodeMap attributes = poolAttributes.getAttributes();
  			for (int i = 0, x = attributes.getLength(); i < x; i++) {
  				Node item = attributes.item(i);
  				datasourceFactoryBuilder.addPropertyValue(item.getNodeName(),
  						item.getNodeValue());
  			}
  		}
  
  		return datasourceFactoryBuilder.getBeanDefinition();
  	}