org.drools.agent
Class RuleBaseAgentCache
java.lang.Object
org.drools.agent.RuleBaseAgentCache
public class RuleBaseAgentCache
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static RuleBaseAgentCache instance()
getRuleBase
public RuleBase getRuleBase(String name)
- Return a rulebase by name.
This name may be the name of a pre configured rulebase,
or the name of a config properties file to be found
on the classpath.
configureRuleBase
public RuleBase configureRuleBase(String name,
Properties props)
- Pass in a pre populated properties file.
It will then map this config to the given name for future use.
- Returns:
- A RuleBase ready to go.
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.