Package org.openengsb.core.workflow.drools.internal.persistence

Examples of org.openengsb.core.workflow.drools.internal.persistence.PersistenceRuleManager


    private RuleUtil() {

    }

    public static DroolsRuleManager getRuleManager() throws Exception {
        PersistenceRuleManager ruleManager = new PersistenceRuleManager();
        ruleManager.setGlobalPersistence(new DefaultConfigPersistenceService(
            new DummyConfigPersistenceService<GlobalDeclaration>()));
        ruleManager.setImportPersistence(new DefaultConfigPersistenceService(
            new DummyConfigPersistenceService<ImportDeclaration>()));
        ruleManager.setRulePersistence(new DefaultConfigPersistenceService(
            new DummyConfigPersistenceService<RuleBaseElement>()));
        ruleManager.init();
        return ruleManager;
    }
View Full Code Here

TOP

Related Classes of org.openengsb.core.workflow.drools.internal.persistence.PersistenceRuleManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.