org.kie.spring.factorybeans
Class KSessionFactoryBean
java.lang.Object
org.kie.spring.factorybeans.KSessionFactoryBean
- All Implemented Interfaces:
- org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
public class KSessionFactoryBean
- extends Object
- implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
agendaEventListeners
protected List<org.kie.api.event.rule.AgendaEventListener> agendaEventListeners
processEventListeners
protected List<org.kie.api.event.process.ProcessEventListener> processEventListeners
workingMemoryEventListeners
protected List<org.kie.api.event.rule.WorkingMemoryEventListener> workingMemoryEventListeners
groupedListeners
protected List<Object> groupedListeners
id
protected String id
type
protected String type
kbaseName
protected String kbaseName
loggerAdaptors
protected org.springframework.beans.factory.support.ManagedList<LoggerAdaptor> loggerAdaptors
helper
protected KSessionFactoryBeanHelper helper
refLookup
protected boolean refLookup
KSessionFactoryBean
public KSessionFactoryBean()
getReleaseId
public org.kie.api.builder.ReleaseId getReleaseId()
setReleaseId
public void setReleaseId(org.kie.api.builder.ReleaseId releaseId)
getRefLookup
public boolean getRefLookup()
setRefLookup
public void setRefLookup(boolean refLookup)
getKbaseName
public String getKbaseName()
setKbaseName
public void setKbaseName(String kbase)
getId
public String getId()
setId
public void setId(String id)
getType
public String getType()
setType
public void setType(String type)
getConf
public org.kie.api.runtime.KieSessionConfiguration getConf()
setConf
public void setConf(org.kie.api.runtime.KieSessionConfiguration conf)
getBatch
public List<org.kie.api.command.Command<?>> getBatch()
setBatch
public void setBatch(List<org.kie.api.command.Command<?>> commands)
getObject
public Object getObject()
throws Exception
- Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
- Throws:
Exception
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean
afterPropertiesSet
public final void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
getJpaConfiguration
public StatefulKSessionFactoryBeanHelper.JpaConfiguration getJpaConfiguration()
setJpaConfiguration
public void setJpaConfiguration(StatefulKSessionFactoryBeanHelper.JpaConfiguration jpaConfiguration)
internalGetObjectType
protected Class<? extends org.kie.api.runtime.KieRuntime> internalGetObjectType()
setEventListenersFromGroup
public void setEventListenersFromGroup(List<Object> eventListenerList)
setEventListeners
public void setEventListeners(Map<String,List> eventListenerMap)
getAgendaEventListeners
public List<org.kie.api.event.rule.AgendaEventListener> getAgendaEventListeners()
setAgendaEventListeners
public void setAgendaEventListeners(List<org.kie.api.event.rule.AgendaEventListener> agendaEventListeners)
getProcessEventListeners
public List<org.kie.api.event.process.ProcessEventListener> getProcessEventListeners()
setProcessEventListeners
public void setProcessEventListeners(List<org.kie.api.event.process.ProcessEventListener> processEventListeners)
getWorkingMemoryEventListeners
public List<org.kie.api.event.rule.WorkingMemoryEventListener> getWorkingMemoryEventListeners()
setWorkingMemoryEventListeners
public void setWorkingMemoryEventListeners(List<org.kie.api.event.rule.WorkingMemoryEventListener> workingMemoryEventListeners)
getKnowledgeRuntimeLoggers
public List<LoggerAdaptor> getKnowledgeRuntimeLoggers()
setKnowledgeRuntimeLoggers
public void setKnowledgeRuntimeLoggers(List<LoggerAdaptor> loggers)
attachListeners
public void attachListeners(org.kie.api.event.KieRuntimeEventManager kieRuntimeEventManager)
attachLoggers
public void attachLoggers(org.kie.api.event.KieRuntimeEventManager ksession)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.