01: package org.drools.reteoo;
02:
03: import org.drools.common.InternalFactHandle;
04: import org.drools.common.InternalWorkingMemory;
05: import org.drools.spi.PropagationContext;
06:
07: public class EmptyObjectSinkAdapter implements ObjectSinkPropagator {
08: private static final EmptyObjectSinkAdapter instance = new EmptyObjectSinkAdapter();
09:
10: public static EmptyObjectSinkAdapter getInstance() {
11: return instance;
12: }
13:
14: private EmptyObjectSinkAdapter() {
15: }
16:
17: public void propagateAssertObject(final InternalFactHandle handle,
18: final PropagationContext context,
19: final InternalWorkingMemory workingMemory) {
20:
21: }
22:
23: public void propagateRetractObject(final InternalFactHandle handle,
24: final PropagationContext context,
25: final InternalWorkingMemory workingMemory,
26: final boolean useHash) {
27: }
28:
29: public ObjectSink[] getSinks() {
30: return new ObjectSink[] {};
31: }
32:
33: }
|