Kie :: Spring 6.0.0.Beta5

org.kie.spring.factorybeans
Class KSessionFactoryBean

java.lang.Object
  extended by 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


Field Summary
protected  List<org.kie.api.event.rule.AgendaEventListener> agendaEventListeners
           
protected  List<Object> groupedListeners
           
protected  KSessionFactoryBeanHelper helper
           
protected  String id
           
protected  String kbaseName
           
protected  org.springframework.beans.factory.support.ManagedList<LoggerAdaptor> loggerAdaptors
           
protected  List<org.kie.api.event.process.ProcessEventListener> processEventListeners
           
protected  boolean refLookup
           
protected  String type
           
protected  List<org.kie.api.event.rule.WorkingMemoryEventListener> workingMemoryEventListeners
           
 
Constructor Summary
KSessionFactoryBean()
           
 
Method Summary
 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 getId()
           
 StatefulKSessionFactoryBeanHelper.JpaConfiguration getJpaConfiguration()
           
 String getKbaseName()
           
 List<LoggerAdaptor> getKnowledgeRuntimeLoggers()
           
 Object getObject()
           
 Class<?> getObjectType()
           
 List<org.kie.api.event.process.ProcessEventListener> getProcessEventListeners()
           
 boolean getRefLookup()
           
 org.kie.api.builder.ReleaseId getReleaseId()
           
 String getType()
           
 List<org.kie.api.event.rule.WorkingMemoryEventListener> getWorkingMemoryEventListeners()
           
protected  Class<? extends org.kie.api.runtime.KieRuntime> internalGetObjectType()
           
 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 setEventListeners(Map<String,List> eventListenerMap)
           
 void setEventListenersFromGroup(List<Object> eventListenerList)
           
 void setId(String id)
           
 void setJpaConfiguration(StatefulKSessionFactoryBeanHelper.JpaConfiguration jpaConfiguration)
           
 void setKbaseName(String kbase)
           
 void setKnowledgeRuntimeLoggers(List<LoggerAdaptor> loggers)
           
 void setProcessEventListeners(List<org.kie.api.event.process.ProcessEventListener> processEventListeners)
           
 void setRefLookup(boolean refLookup)
           
 void setReleaseId(org.kie.api.builder.ReleaseId releaseId)
           
 void setType(String type)
           
 void setWorkingMemoryEventListeners(List<org.kie.api.event.rule.WorkingMemoryEventListener> workingMemoryEventListeners)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

KSessionFactoryBean

public KSessionFactoryBean()
Method Detail

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)

Kie :: Spring 6.0.0.Beta5

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