站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

RuleExecutionSetRepository (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.jsr94.rules.admin
Class RuleExecutionSetRepository

java.lang.Object
  extended by org.drools.jsr94.rules.admin.RuleExecutionSetRepository
All Implemented Interfaces:
Serializable

public final class RuleExecutionSetRepository
extends Object
implements Serializable

Stores the registered RuleExecutionSet objects.

Author:
thomas diesler
See Also:
Serialized Form

Constructor Summary
RuleExecutionSetRepository()
          Private constructor; use getInstance instead.
 
Method Summary
 List getRegistrations()
          Retrieves a List of the URIs that currently have RuleExecutionSets associated with them.
 javax.rules.admin.RuleExecutionSet getRuleExecutionSet(String bindUri)
          Get the RuleExecutionSet bound to this URI, or return null.
 void registerRuleExecutionSet(String bindUri, javax.rules.admin.RuleExecutionSet ruleSet)
          Register a RuleExecutionSet under the given URI.
 void unregisterRuleExecutionSet(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
 

Constructor Detail

RuleExecutionSetRepository

public RuleExecutionSetRepository()
Private constructor; use getInstance instead.

Method Detail

getRegistrations

public 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.

Returns:
a List of the URIs that currently have RuleExecutionSets associated with them.

getRuleExecutionSet

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

Parameters:
bindUri - the URI associated with the wanted RuleExecutionSet.
Returns:
the RuleExecutionSet bound to the given URI.

registerRuleExecutionSet

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

Parameters:
bindUri - the URI to associate with the RuleExecutionSet.
ruleSet - the RuleExecutionSet to associate with the URI
Throws:
javax.rules.admin.RuleExecutionSetRegisterException - if an error occurred that prevented registration (i.e. if bindUri or ruleSet are null)

unregisterRuleExecutionSet

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

Parameters:
bindUri - the URI to disassociate with the RuleExecutionSet.


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.