public class KSessionFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
Modifier and Type | Field and Description |
---|---|
protected List<org.kie.api.event.rule.AgendaEventListener> |
agendaEventListeners |
protected List<Object> |
groupedListeners |
protected KSessionFactoryBeanHelper |
helper |
protected org.springframework.beans.factory.support.ManagedList<LoggerAdaptor> |
loggerAdaptors |
protected List<org.kie.api.event.process.ProcessEventListener> |
processEventListeners |
protected List<org.kie.api.event.rule.RuleRuntimeEventListener> |
ruleRuntimeEventListeners |
Constructor and Description |
---|
KSessionFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
attachListeners(org.kie.api.event.KieRuntimeEventManager kieRuntimeEventManager) |
void |
attachLoggers(org.kie.api.event.KieRuntimeEventManager ksession) |
List<org.kie.api.event.rule.AgendaEventListener> |
getAgendaEventListeners() |
List<org.kie.api.command.Command<?>> |
getBatch() |
org.kie.api.runtime.KieSessionConfiguration |
getConf() |
String |
getDef() |
String |
getId() |
StatefulKSessionFactoryBeanHelper.JpaConfiguration |
getJpaConfiguration() |
org.kie.api.KieBase |
getKBase() |
String |
getKBaseName() |
List<LoggerAdaptor> |
getKnowledgeRuntimeLoggers() |
String |
getName() |
Object |
getObject() |
Class<? extends org.kie.api.runtime.KieRuntime> |
getObjectType() |
List<org.kie.api.event.process.ProcessEventListener> |
getProcessEventListeners() |
org.kie.api.builder.ReleaseId |
getReleaseId() |
List<org.kie.api.event.rule.RuleRuntimeEventListener> |
getRuleRuntimeEventListeners() |
String |
getScope() |
String |
getType() |
boolean |
isSingleton() |
void |
setAgendaEventListeners(List<org.kie.api.event.rule.AgendaEventListener> agendaEventListeners) |
void |
setBatch(List<org.kie.api.command.Command<?>> commands) |
void |
setConf(org.kie.api.runtime.KieSessionConfiguration conf) |
void |
setDef(String def) |
void |
setEventListeners(Map<String,List> eventListenerMap) |
void |
setEventListenersFromGroup(List<Object> eventListenerList) |
void |
setId(String id) |
void |
setJpaConfiguration(StatefulKSessionFactoryBeanHelper.JpaConfiguration jpaConfiguration) |
void |
setkBase(org.kie.api.KieBase kBase)
Additional Setter to satisfy Spring Eclipse support (avoiding "No setter found" errors).
|
void |
setKBase(org.kie.api.KieBase kBase) |
void |
setkBaseName(String kBaseName)
Additional Setter to satisfy Spring Eclipse support (avoiding "No setter found" errors).
|
void |
setKBaseName(String kBaseName) |
void |
setKnowledgeRuntimeLoggers(List<LoggerAdaptor> loggers) |
void |
setName(String name) |
void |
setProcessEventListeners(List<org.kie.api.event.process.ProcessEventListener> processEventListeners) |
void |
setReleaseId(org.kie.api.builder.ReleaseId releaseId) |
void |
setRuleRuntimeEventListeners(List<org.kie.api.event.rule.RuleRuntimeEventListener> ruleRuntimeEventListeners) |
void |
setScope(String scope) |
void |
setType(String type) |
protected KSessionFactoryBeanHelper helper
protected org.springframework.beans.factory.support.ManagedList<LoggerAdaptor> loggerAdaptors
protected List<org.kie.api.event.rule.AgendaEventListener> agendaEventListeners
protected List<org.kie.api.event.process.ProcessEventListener> processEventListeners
protected List<org.kie.api.event.rule.RuleRuntimeEventListener> ruleRuntimeEventListeners
public org.kie.api.builder.ReleaseId getReleaseId()
public void setReleaseId(org.kie.api.builder.ReleaseId releaseId)
public org.kie.api.runtime.KieSessionConfiguration getConf()
public void setConf(org.kie.api.runtime.KieSessionConfiguration conf)
public String getKBaseName()
public void setKBaseName(String kBaseName)
public void setkBaseName(String kBaseName)
public List<org.kie.api.command.Command<?>> getBatch()
public void setBatch(List<org.kie.api.command.Command<?>> commands)
public String getName()
public void setName(String name)
public String getScope()
public void setScope(String scope)
public org.kie.api.KieBase getKBase()
public void setKBase(org.kie.api.KieBase kBase)
public void setkBase(org.kie.api.KieBase kBase)
public String getType()
public void setType(String type)
public String getId()
public void setId(String id)
public String getDef()
public void setDef(String def)
public Object getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
Exception
public Class<? extends org.kie.api.runtime.KieRuntime> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public StatefulKSessionFactoryBeanHelper.JpaConfiguration getJpaConfiguration()
public void setJpaConfiguration(StatefulKSessionFactoryBeanHelper.JpaConfiguration jpaConfiguration)
public List<LoggerAdaptor> getKnowledgeRuntimeLoggers()
public void setKnowledgeRuntimeLoggers(List<LoggerAdaptor> loggers)
public void attachLoggers(org.kie.api.event.KieRuntimeEventManager ksession)
public List<org.kie.api.event.rule.AgendaEventListener> getAgendaEventListeners()
public void setAgendaEventListeners(List<org.kie.api.event.rule.AgendaEventListener> agendaEventListeners)
public List<org.kie.api.event.process.ProcessEventListener> getProcessEventListeners()
public void setProcessEventListeners(List<org.kie.api.event.process.ProcessEventListener> processEventListeners)
public List<org.kie.api.event.rule.RuleRuntimeEventListener> getRuleRuntimeEventListeners()
public void setRuleRuntimeEventListeners(List<org.kie.api.event.rule.RuleRuntimeEventListener> ruleRuntimeEventListeners)
public void attachListeners(org.kie.api.event.KieRuntimeEventManager kieRuntimeEventManager)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.