public AbstractWorkingMemory(final int id, final InternalRuleBase ruleBase, final FactHandleFactory handleFactory, final boolean initInitialFactHandle, final long propagationContext, final SessionConfiguration config, final InternalAgenda agenda, final Environment environment) { this( id, ruleBase, handleFactory, initInitialFactHandle, propagationContext, config, environment, new WorkingMemoryEventSupport(), new AgendaEventSupport(), agenda ); }
/** * Construct. * * @param ruleBase * The backing rule-base. */ public AbstractWorkingMemory(final int id, final InternalRuleBase ruleBase, boolean initInitFactHandle, final FactHandleFactory handleFactory, final SessionConfiguration config, final Environment environment) { this( id, ruleBase, handleFactory, initInitFactHandle, 1, config, environment, new WorkingMemoryEventSupport(), new AgendaEventSupport(), null ); }
public SharedWorkingMemoryContext(FactHandleFactory handleFactory) { this.handleFactory = handleFactory; this.globalResolver = new MapGlobalResolver(); this.workingMemoryEventSupport = new WorkingMemoryEventSupport(); this.agendaEventSupport = new AgendaEventSupport(); this.__ruleBaseEventListeners = new LinkedList(); }