org.drools.container.spring.beans
Class AbstractKnowledgeSessionBeanFactory
java.lang.Object
org.drools.container.spring.beans.AbstractKnowledgeSessionBeanFactory
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.NamedBean
- Direct Known Subclasses:
- StatefulKnowledgeSessionBeanFactory, StatelessKnowledgeSessionBeanFactory
public abstract class AbstractKnowledgeSessionBeanFactory
- extends Object
- implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.NamedBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.beans.factory.FactoryBean |
getObjectType |
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.RuleRuntimeEventListener> workingMemoryEventListeners
groupedListeners
protected List<Object> groupedListeners
loggerAdaptors
protected org.springframework.beans.factory.support.ManagedList<KnowledgeLoggerAdaptor> loggerAdaptors
AbstractKnowledgeSessionBeanFactory
public AbstractKnowledgeSessionBeanFactory()
getObject
public Object getObject()
throws Exception
- Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
- Throws:
Exception
getWorkItems
public Map<String,org.kie.api.runtime.process.WorkItemHandler> getWorkItems()
setWorkItems
public void setWorkItems(Map<String,org.kie.api.runtime.process.WorkItemHandler> workItems)
getConf
public org.kie.api.runtime.KieSessionConfiguration getConf()
setConf
public void setConf(org.kie.api.runtime.KieSessionConfiguration conf)
getName
public String getName()
setName
public void setName(String name)
getKbase
public org.kie.api.KieBase getKbase()
setKbase
public void setKbase(org.kie.api.KieBase kbase)
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean
getBatch
public List<org.kie.api.command.Command<?>> getBatch()
setBatch
public void setBatch(List<org.kie.api.command.Command<?>> commands)
afterPropertiesSet
public final void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
getCommandExecutor
protected abstract org.kie.api.runtime.CommandExecutor getCommandExecutor()
internalAfterPropertiesSet
protected abstract void internalAfterPropertiesSet()
getNode
public GridNode getNode()
setNode
public void setNode(GridNode node)
setBeanName
public void setBeanName(String name)
- Specified by:
setBeanName in interface org.springframework.beans.factory.BeanNameAware
getBeanName
public String getBeanName()
- Specified by:
getBeanName in interface org.springframework.beans.factory.NamedBean
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)
getRuleRuntimeEventListeners
public List<org.kie.api.event.rule.RuleRuntimeEventListener> getRuleRuntimeEventListeners()
setWorkingMemoryEventListeners
public void setWorkingMemoryEventListeners(List<org.kie.api.event.rule.RuleRuntimeEventListener> workingMemoryEventListeners)
getKnowledgeRuntimeLoggers
public List<KnowledgeLoggerAdaptor> getKnowledgeRuntimeLoggers()
setKnowledgeRuntimeLoggers
public void setKnowledgeRuntimeLoggers(List<KnowledgeLoggerAdaptor> loggers)
attachLoggers
protected void attachLoggers(org.kie.api.event.KieRuntimeEventManager ksession)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.