01: package org.drools.spi;
02:
03: import java.io.Serializable;
04: import java.util.Iterator;
05:
06: import org.drools.WorkingMemory;
07: import org.drools.rule.Declaration;
08:
09: public interface DataProvider extends Serializable {
10:
11: public Declaration[] getRequiredDeclarations();
12:
13: public Iterator getResults(Tuple tuple, WorkingMemory wm,
14: PropagationContext ctx);
15:
16: }
|