Class BeanPublishParser

  • All Implemented Interfaces:
    org.springframework.beans.factory.xml.BeanDefinitionDecorator

    public class BeanPublishParser
    extends Object
    implements org.springframework.beans.factory.xml.BeanDefinitionDecorator
    Parses the publish tag of a bean. Exposing the bean to the PentahoSystem as an implementation of the given type. Beans can be published by a given type, as all implemented interfaces, as all inherited classes, a combination of all classes and interfaces, or by default as the class of the bean itself.

    Attributes embedded in the publish tag become available to the PentahoSystem to allow for querying of registered implementations. An attribute of "priority" is used to determine the order of registered implementations.

    User: nbaker Date: 3/27/13

    • Constructor Detail

      • BeanPublishParser

        public BeanPublishParser()
    • Method Detail

      • decorate

        public org.springframework.beans.factory.config.BeanDefinitionHolder decorate​(Node node,
                                                                                      org.springframework.beans.factory.config.BeanDefinitionHolder beanDefinitionHolder,
                                                                                      org.springframework.beans.factory.xml.ParserContext parserContext)
        Specified by:
        decorate in interface org.springframework.beans.factory.xml.BeanDefinitionDecorator