org.kie.spring.factorybeans
Class KieImportFactoryBean
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
KieImportFactoryBean
public KieImportFactoryBean()
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)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.