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
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
KieImportFactoryBean() |
Modifier and Type | Method and Description |
---|---|
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 |
registerKieContainer(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) |
void |
setReleaseId(org.kie.api.builder.ReleaseId releaseId) |
void |
setReleaseIdName(String releaseIdName) |
void |
setScannerEnabled(boolean scannerEnabled) |
void |
setScannerInterval(int scannerInterval) |
protected org.kie.api.builder.ReleaseId releaseId
protected org.kie.api.runtime.KieContainer kContainer
protected org.springframework.context.ApplicationContext applicationContext
protected KieObjectsResolver kieObjectsResolver
protected boolean scannerEnabled
protected int scannerInterval
protected org.kie.api.builder.KieScanner kieScanner
protected String releaseIdName
public org.kie.api.builder.ReleaseId getReleaseId()
public void setReleaseId(org.kie.api.builder.ReleaseId releaseId)
public boolean isScannerEnabled()
public void setScannerEnabled(boolean scannerEnabled)
public int getScannerInterval()
public String getReleaseIdName()
public void setReleaseIdName(String releaseIdName)
public void setScannerInterval(int scannerInterval)
public org.kie.api.runtime.KieContainer getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<org.kie.api.runtime.KieContainer>
Exception
public Class<? extends org.kie.api.runtime.KieContainer> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<org.kie.api.runtime.KieContainer>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<org.kie.api.runtime.KieContainer>
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
postProcessBeanFactory
in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
org.springframework.beans.BeansException
protected void registerKieContainer(org.springframework.beans.factory.config.ConfigurableListableBeanFactory configurableListableBeanFactory)
protected void registerKieBases(org.springframework.beans.factory.config.ConfigurableListableBeanFactory configurableListableBeanFactory)
protected void registerKieSessions(String kieBaseName, org.springframework.beans.factory.config.ConfigurableListableBeanFactory configurableListableBeanFactory)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.