/** * Parses the supplied {@link Element} by delegating to the {@link BeanDefinitionParser} that is registered for that * {@link Element}. * * @param element the element to be parsed into a bean definition * @param parserContext the context within which the bean definition is created * * @return the bean definition created from the given element */ @Override public BeanDefinition parse(final Element element, final ParserContext parserContext) { return findParserForElement(element).parse(element, parserContext); }