Class ApplicationContextPentahoSystemRegisterer

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered

    public class ApplicationContextPentahoSystemRegisterer
    extends Object
    implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.PriorityOrdered
    When added as a bean to a Spring context this class will register the ApplicationContext as a StandalongSpringPentahoObjectFactory with the PentahoSystem

    User: nbaker Date: 3/31/13

    • Constructor Detail

      • ApplicationContextPentahoSystemRegisterer

        public ApplicationContextPentahoSystemRegisterer()
    • Method Detail

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException
      • postProcessBeanFactory

        public void postProcessBeanFactory​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory configurableListableBeanFactory)
                                    throws org.springframework.beans.BeansException
        Specified by:
        postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
        Throws:
        org.springframework.beans.BeansException
      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • safeAddBeanScopePostProcessors

        protected void safeAddBeanScopePostProcessors​(org.springframework.context.ApplicationContext appCtx)