Kie :: Spring 6.2.0.Final

org.kie.spring.factorybeans
Class KieImportFactoryBean

java.lang.Object
  extended by org.kie.spring.factorybeans.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 Summary
protected  org.springframework.context.ApplicationContext applicationContext
           
protected  org.kie.api.runtime.KieContainer kContainer
           
protected  KieObjectsResolver kieObjectsResolver
           
protected  org.kie.api.builder.KieScanner kieScanner
           
protected  org.kie.api.builder.ReleaseId releaseId
           
protected  String releaseIdName
           
protected  boolean scannerEnabled
           
protected  int scannerInterval
           
 
Constructor Summary
KieImportFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 org.kie.api.runtime.KieContainer getObject()
           
 Class<? extends org.kie.api.runtime.KieContainer> getObjectType()
           
 org.kie.api.builder.ReleaseId getReleaseId()
           
 String getReleaseIdName()
           
 int getScannerInterval()
           
 boolean isScannerEnabled()
           
 boolean isSingleton()
           
 void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
           
protected  void registerKieBases(org.springframework.beans.factory.config.ConfigurableListableBeanFactory configurableListableBeanFactory)
           
protected  void registerKieSessions(String kieBaseName, org.springframework.beans.factory.config.ConfigurableListableBeanFactory configurableListableBeanFactory)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
protected  void setKContainer()
           
 void setReleaseId(org.kie.api.builder.ReleaseId releaseId)
           
 void setReleaseIdName(String releaseIdName)
           
 void setScannerEnabled(boolean scannerEnabled)
           
 void setScannerInterval(int scannerInterval)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

kieObjectsResolver

protected KieObjectsResolver kieObjectsResolver

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

setKContainer

protected void setKContainer()

registerKieBases

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

registerKieSessions

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

Kie :: Spring 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.