|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.SimpleRepository
Simple in-memory RuleBaseRepository
.
RuleBaseRepository
,
RuleBase
Constructor Summary | |
SimpleRepository()
Construct. |
Method Summary | |
RuleBase |
lookupRuleBase(java.lang.String uri)
Retrieve a RuleBase by URI. |
void |
registerRuleBase(java.lang.String uri,
RuleBase ruleBase)
Register a RuleBase with a URI. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleRepository()
Method Detail |
public void registerRuleBase(java.lang.String uri, RuleBase ruleBase)
RuleBase
with a URI.
registerRuleBase
in interface RuleBaseRepository
uri
- The URI key.ruleBase
- The RuleBase
to register.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.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |