org.springframework.beans.factory.xml

Interface BeanDefinitionDecorator

    • Method Detail

      • decorate

        BeanDefinitionHolder decorate(org.w3c.dom.Node node,
                                      BeanDefinitionHolder definition,
                                      ParserContext parserContext)
        Parse the specified Node (either an element or an attribute) and decorate the supplied BeanDefinition, returning the decorated definition.

        Implementations may choose to return a completely new definition, which will replace the original definition in the resulting BeanFactory.

        The supplied ParserContext can be used to register any additional beans needed to support the main definition.