public interface StatefulSession extends WorkingMemory
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Forces the workingMemory to be disconnected from the rulebase (not calling this may cause resource leaks).
|
void |
fireUntilHalt()
Keeps firing activations until a halt is called.
|
void |
fireUntilHalt(AgendaFilter agendaFilter)
Keeps firing activations until a halt is called.
|
List |
getRuleBaseUpdateListeners() |
clearActivationGroup, clearAgenda, clearAgendaGroup, clearRuleFlowGroup, fireAllRules, fireAllRules, fireAllRules, fireAllRules, getAgenda, getEnvironment, getFactHandle, getFactHandleByIdentity, getGlobal, getGlobalResolver, getObject, getProcessInstance, getProcessInstance, getProcessInstances, getQueryResults, getRuleBase, getSessionClock, getWorkingMemoryEntryPoint, getWorkItemManager, halt, iterateFactHandles, iterateFactHandles, iterateObjects, iterateObjects, setAsyncExceptionHandler, setFocus, setGlobal, setGlobalResolver, startProcess, startProcess
addEventListener, addEventListener, getAgendaEventListeners, getWorkingMemoryEventListeners, removeEventListener, removeEventListener
addEventListener, getRuleBaseEventListeners, removeEventListener
insert, insert, retract, update
void dispose()
dispose
in interface WorkingMemoryEntryPoint
List getRuleBaseUpdateListeners()
void fireUntilHalt()
IllegalStateException
- if this method is called when running in sequential modevoid fireUntilHalt(AgendaFilter agendaFilter)
agendaFilter
- filters the activations that may fireIllegalStateException
- if this method is called when running in sequential modeCopyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.