当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
ReteooWorkingMemory (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.reteoo
Class ReteooWorkingMemory
java.lang.Object
org.drools.common.AbstractWorkingMemory
org.drools.reteoo.ReteooWorkingMemory
- All Implemented Interfaces:
- PropertyChangeListener, Serializable, EventListener, EventSupport, InternalWorkingMemory, InternalWorkingMemoryActions, WorkingMemory
- Direct Known Subclasses:
- ReteooStatefulSession
public class ReteooWorkingMemory
- extends AbstractWorkingMemory
Implementation of WorkingMemory
.
- Author:
- bob mcwhirter , Mark Proctor, Simon Harris
- See Also:
- Serialized Form
Fields inherited from class org.drools.common.AbstractWorkingMemory |
actionQueue, ADD_REMOVE_PROPERTY_CHANGE_LISTENER_ARG_TYPES, addRemovePropertyChangeListenerArgs, agenda, agendaEventSupport, discardOnLogicalOverride, firing, globalResolver, globals, handleFactory, id, lock, nodeMemories, NULL, propagationIdCounter, queryResults, ruleBase, tms, workingMemoryEventSupport |
Methods inherited from class org.drools.common.AbstractWorkingMemory |
addEventListener, addEventListener, addPropertyChangeListener, assertLogicalObject, assertLogicalObject, assertObject, assertObject, assertObject, clearAgenda, clearAgendaGroup, clearNodeMemory, executeQueuedActions, fireAllRules, fireAllRules, getAgenda, getAgendaEventListeners, getAgendaEventSupport, getFactHandle, getFactHandleFactory, getFactHandleMap, getFocus, getGlobal, getGlobals, getId, getLock, getNextPropagationIdCounter, getNodeMemory, getObject, getRuleBase, getTruthMaintenanceSystem, getWorkingMemoryEventListeners, getWorkingMemoryEventSupport, iterateFactHandles, iterateFactHandles, iterateObjects, iterateObjects, iterateObjectsToList, modifyObject, modifyObject, propertyChange, queueWorkingMemoryAction, removeEventListener, removeEventListener, removeLogicalDependencies, removePropertyChangeListener, retractObject, retractObject, setAsyncExceptionHandler, setFocus, setFocus, setGlobal, setGlobalResolver, startProcess |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReteooWorkingMemory
public ReteooWorkingMemory(int id,
InternalRuleBase ruleBase)
- Construct.
- Parameters:
ruleBase
- The backing rule-base.
doAssertObject
public void doAssertObject(InternalFactHandle handle,
Object object,
PropagationContext propagationContext)
throws FactException
- Specified by:
doAssertObject
in class AbstractWorkingMemory
- Throws:
FactException
doRetract
public void doRetract(InternalFactHandle handle,
PropagationContext propagationContext)
- Specified by:
doRetract
in class AbstractWorkingMemory
getQueryResults
public QueryResults getQueryResults(String query)
- Description copied from interface:
WorkingMemory
- Retrieve the QueryResults of the specified query.
- Specified by:
getQueryResults
in interface WorkingMemory
- Specified by:
getQueryResults
in class AbstractWorkingMemory
- Parameters:
query
- The name of the query.
- Returns:
- The QueryResults of the specified query.
If no results match the query it is empty.
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.