org.drools
Interface RuleBaseRepository

All Known Implementing Classes:
SimpleRepository, MultiRepository

public interface RuleBaseRepository

Interface for repository of RuleBases.

Author:
bob mcwhirter
See Also:
RuleBase

Method Summary
 RuleBase lookupRuleBase(java.lang.String uri)
          Retrieve a RuleBase by URI.
 void registerRuleBase(java.lang.String uri, RuleBase ruleBase)
          Register a RuleBase by URI.
 

Method Detail

lookupRuleBase

public RuleBase lookupRuleBase(java.lang.String uri)
                        throws NoSuchRuleBaseException
Retrieve a RuleBase by URI.
Parameters:
uri - The identifying URI of the RuleBase.
Returns:
The located RuleBase.
Throws:
NoSuchRuleBaseException - If no RuleBase can be located.

registerRuleBase

public void registerRuleBase(java.lang.String uri,
                             RuleBase ruleBase)
Register a RuleBase by URI.
Parameters:
uri - The uri.
ruleBase - The rule base.


Copyright © 2001-2002 The Werken Company. All Rights Reserved.