ArrayAgendaGroupFactory.java :  » Rule-Engine » drolls-5.0 » org » drools » common » Java Open Source

Java Open Source » Rule Engine » drolls 5.0 
drolls 5.0 » org » drools » common » ArrayAgendaGroupFactory.java
package org.drools.common;


public class ArrayAgendaGroupFactory implements AgendaGroupFactory {
    private static final AgendaGroupFactory INSTANCE = new ArrayAgendaGroupFactory();
    
    public static AgendaGroupFactory getInstance() {
        return INSTANCE;
    }    
    
    public InternalAgendaGroup createAgendaGroup(String name, InternalRuleBase ruleBase) {
        return new ArrayAgendaGroup( name,
                                     ruleBase );        
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.