01: package org.drools.common;
02:
03: import org.drools.spi.AgendaGroup;
04:
05: public class ArrayAgendaGroupFactory implements AgendaGroupFactory {
06: private static final AgendaGroupFactory INSTANCE = new ArrayAgendaGroupFactory();
07:
08: public static AgendaGroupFactory getInstance() {
09: return INSTANCE;
10: }
11:
12: public AgendaGroup createAgendaGroup(String name,
13: InternalRuleBase ruleBase) {
14: return new ArrayAgendaGroup(name, ruleBase);
15: }
16: }
|