@Override
    protected AbstractBeanDefinition parseInternal(Element element, ParserContext parserContext) {
        BeanDefinitionBuilder builder = BeanDefinitionBuilder.rootBeanDefinition(DozerBeanMapperFactoryBean.class);
        String mappingFiles = element.getAttribute("mapping-files");
        if (StringUtils.hasLength(mappingFiles)) {
            builder.addPropertyValue("mappingFiles", mappingFiles);
        }
        return builder.getBeanDefinition();
    }
{@link AbstractBeanDefinitionParser} which uses {@link BeanDefinitionBuilder#rootBeanDefinition(Class)}
to create a {@link DozerBeanMapperFactoryBean}
dozer-integrations/dozer-spring-support/dozer-spring4/src/main/java/com/github/dozermapper/spring/MapperDefinitionParser.java