|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.MultiRepository
Aggregating RuleBaseRepository
that searches
multiple repositories, in order.
Constructor Summary | |
MultiRepository()
Construct. |
Method Summary | |
void |
addRepository(RuleBaseRepository repository)
Add a repository to the end of the search list. |
RuleBase |
lookupRuleBase(java.lang.String uri)
Retrieve a RuleBase by URI. |
void |
registerRuleBase(java.lang.String uri,
RuleBase ruleBase)
Register a RuleBase by URI. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultiRepository()
Method Detail |
public void addRepository(RuleBaseRepository repository)
repository
- The repository to add.public RuleBase lookupRuleBase(java.lang.String uri) throws NoSuchRuleBaseException
RuleBase
by URI.lookupRuleBase
in interface RuleBaseRepository
uri
- The identifying URI of the RuleBase
.RuleBase
.NoSuchRuleBaseException
- If no RuleBase
can be located.public void registerRuleBase(java.lang.String uri, RuleBase ruleBase)
RuleBase
by URI.registerRuleBase
in interface RuleBaseRepository
uri
- The uri.ruleBase
- The rule base.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |