当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
ObjectSource (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.reteoo
Class ObjectSource
java.lang.Object
org.drools.common.BaseNode
org.drools.reteoo.ObjectSource
- All Implemented Interfaces:
- Serializable, NetworkNode
- Direct Known Subclasses:
- AlphaNode, ObjectTypeNode, Rete, RightInputAdapterNode
public abstract class ObjectSource
- extends BaseNode
- implements Serializable
A source of FactHandle
s for an ObjectSink
.
Nodes that propagate FactHandleImpl
extend this class.
- Author:
- Mark Proctor, Bob McWhirter
- See Also:
ObjectSource
,
DefaultFactHandle
,
Serialized Form
Methods inherited from class org.drools.common.BaseNode |
addShare, attach, attach, getId, getSharedCount, hashCode, hasMemory, isInUse, isShared, remove, removeShare, setHasMemory, toString |
sink
protected ObjectSinkPropagator sink
- The destination for
FactHandleImpl
.
objectSource
protected ObjectSource objectSource
addObjectSink
protected void addObjectSink(ObjectSink objectSink)
- Adds the
ObjectSink
so that it may receive
FactHandleImpl
propagated from this
ObjectSource
.
- Parameters:
objectSink
- The ObjectSink
to receive propagated
FactHandleImpl
.
removeObjectSink
protected void removeObjectSink(ObjectSink objectSink)
- Removes the
ObjectSink
- Parameters:
objectSink
- The ObjectSink
to remove
updateSink
public abstract void updateSink(ObjectSink sink,
PropagationContext context,
InternalWorkingMemory workingMemory)
getSinkPropagator
public ObjectSinkPropagator getSinkPropagator()
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.