Class KieImportFactoryBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.FactoryBean<org.kie.api.runtime.KieContainer>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

    public class KieImportFactoryBean
    extends Object
    implements org.springframework.beans.factory.FactoryBean<org.kie.api.runtime.KieContainer>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.ApplicationContextAware
    • Field Detail

      • releaseId

        protected org.kie.api.builder.ReleaseId releaseId
      • kContainer

        protected org.kie.api.runtime.KieContainer kContainer
      • applicationContext

        protected org.springframework.context.ApplicationContext applicationContext
      • scannerEnabled

        protected boolean scannerEnabled
      • scannerInterval

        protected int scannerInterval
      • kieScanner

        protected org.kie.api.builder.KieScanner kieScanner
      • releaseIdName

        protected String releaseIdName
    • Constructor Detail

      • KieImportFactoryBean

        public KieImportFactoryBean()
    • Method Detail

      • getReleaseId

        public org.kie.api.builder.ReleaseId getReleaseId()
      • setReleaseId

        public void setReleaseId​(org.kie.api.builder.ReleaseId releaseId)
      • isScannerEnabled

        public boolean isScannerEnabled()
      • setScannerEnabled

        public void setScannerEnabled​(boolean scannerEnabled)
      • getScannerInterval

        public int getScannerInterval()
      • getReleaseIdName

        public String getReleaseIdName()
      • setReleaseIdName

        public void setReleaseIdName​(String releaseIdName)
      • setScannerInterval

        public void setScannerInterval​(int scannerInterval)
      • getObject

        public org.kie.api.runtime.KieContainer getObject()
                                                   throws Exception
        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean<org.kie.api.runtime.KieContainer>
        Throws:
        Exception
      • getObjectType

        public Class<? extends org.kie.api.runtime.KieContainer> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<org.kie.api.runtime.KieContainer>
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean<org.kie.api.runtime.KieContainer>
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • 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 beanFactory)
                                    throws org.springframework.beans.BeansException
        Specified by:
        postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
        Throws:
        org.springframework.beans.BeansException
      • registerKieContainer

        protected void registerKieContainer​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory configurableListableBeanFactory)
      • registerKieBases

        protected void registerKieBases​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory configurableListableBeanFactory)
      • registerKieSessions

        protected void registerKieSessions​(String kieBaseName,
                                           org.springframework.beans.factory.config.ConfigurableListableBeanFactory configurableListableBeanFactory)