org.drools.jsr94.rules.admin
Class RuleExecutionSetRepository

java.lang.Object
  |
  +--org.drools.jsr94.rules.admin.RuleExecutionSetRepository

public class RuleExecutionSetRepository
extends java.lang.Object

Stores the registered RuleExecutionSet objects.

Author:
thomas diesler

Method Summary
static RuleExecutionSetRepository getInstance()
          Get the class instance of a RuleExecutionSetRepository.
 java.util.List getRegistrations()
          Retrieves a List of the URIs that currently have RuleExecutionSets associated with them.
 javax.rules.admin.RuleExecutionSet getRuleExecutionSet(java.lang.String bindUri)
          Get the RuleExecutionSet bound to this URI, or return null.
 void registerRuleExecutionSet(java.lang.String bindUri, javax.rules.admin.RuleExecutionSet ruleSet)
          Register a RuleExecutionSet under the given URI.
 void unregisterRuleExecutionSet(java.lang.String bindUri)
          Unregister a RuleExecutionSet from the given URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static RuleExecutionSetRepository getInstance()
Get the class instance of a RuleExecutionSetRepository.

getRegistrations

public java.util.List getRegistrations()
Retrieves a List of the URIs that currently have RuleExecutionSets associated with them. An empty list is returned is there are no associations.

getRuleExecutionSet

public javax.rules.admin.RuleExecutionSet getRuleExecutionSet(java.lang.String bindUri)
Get the RuleExecutionSet bound to this URI, or return null.

registerRuleExecutionSet

public void registerRuleExecutionSet(java.lang.String bindUri,
                                     javax.rules.admin.RuleExecutionSet ruleSet)
Register a RuleExecutionSet under the given URI.

unregisterRuleExecutionSet

public void unregisterRuleExecutionSet(java.lang.String bindUri)
Unregister a RuleExecutionSet from the given URI.


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