public class DefaultRuleExecutionSetRepository extends Object implements RuleExecutionSetRepository
RuleExecutionSet objects.| Constructor and Description |
|---|
DefaultRuleExecutionSetRepository() |
| Modifier and Type | Method and Description |
|---|---|
List |
getRegistrations()
Retrieves a
List of the URIs that currently have
RuleExecutionSets associated with them. |
javax.rules.admin.RuleExecutionSet |
getRuleExecutionSet(String bindUri,
Map properties)
Get the
RuleExecutionSet bound to this URI, or return
null. |
void |
registerRuleExecutionSet(String bindUri,
javax.rules.admin.RuleExecutionSet ruleSet,
Map properties)
Register a
RuleExecutionSet under the given URI. |
void |
unregisterRuleExecutionSet(String bindUri,
Map properties)
Unregister a
RuleExecutionSet from the given URI. |
public List getRegistrations() throws RuleExecutionSetRepositoryException
RuleExecutionSetRepositoryList of the URIs that currently have
RuleExecutionSets associated with them.
An empty list is returned if there are no associations.getRegistrations in interface RuleExecutionSetRepositoryList of the URIs that currently have
RuleExecutionSets associated with them.RuleExecutionSetRepositoryExceptionpublic javax.rules.admin.RuleExecutionSet getRuleExecutionSet(String bindUri, Map properties) throws RuleExecutionSetRepositoryException
RuleExecutionSetRepositoryRuleExecutionSet bound to this URI, or return
null.getRuleExecutionSet in interface RuleExecutionSetRepositorybindUri - the URI associated with the wanted
RuleExecutionSet.RuleExecutionSet bound to the given URI.RuleExecutionSetRepositoryExceptionpublic void registerRuleExecutionSet(String bindUri, javax.rules.admin.RuleExecutionSet ruleSet, Map properties) throws javax.rules.admin.RuleExecutionSetRegisterException
RuleExecutionSetRepositoryRuleExecutionSet under the given URI.registerRuleExecutionSet in interface RuleExecutionSetRepositorybindUri - the URI to associate with the RuleExecutionSet.ruleSet - the RuleExecutionSet to associate with the URIjavax.rules.admin.RuleExecutionSetRegisterException - if an error occurred that prevented registration (i.e. if
bindUri or ruleSet are null)public void unregisterRuleExecutionSet(String bindUri, Map properties) throws javax.rules.admin.RuleExecutionSetDeregistrationException
RuleExecutionSetRepositoryRuleExecutionSet from the given URI.unregisterRuleExecutionSet in interface RuleExecutionSetRepositorybindUri - the URI to disassociate with the RuleExecutionSet.javax.rules.admin.RuleExecutionSetDeregistrationException - if an error occurred that prevented deregistrationCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.