/** * Decorates the supplied {@link Node} by delegating to the {@link BeanDefinitionDecorator} that is registered to * handle that {@link Node}. * * @param node the node decorating a the given bean definition * @param definition the bean being decorated * @param parserContext the current parser context * * @return the decorated bean definition */ @Override public BeanDefinitionHolder decorate(final Node node, final BeanDefinitionHolder definition, final ParserContext parserContext) { return findDecoratorForNode(node).decorate(node, definition, parserContext); }