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
RuleExecutionSet s 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
RuleExecutionSetRepository
List
of the URIs that currently have
RuleExecutionSet
s associated with them.
An empty list is returned if there are no associations.getRegistrations
in interface RuleExecutionSetRepository
List
of the URIs that currently have
RuleExecutionSet
s associated with them.RuleExecutionSetRepositoryException
public javax.rules.admin.RuleExecutionSet getRuleExecutionSet(String bindUri, Map properties) throws RuleExecutionSetRepositoryException
RuleExecutionSetRepository
RuleExecutionSet
bound to this URI, or return
null
.getRuleExecutionSet
in interface RuleExecutionSetRepository
bindUri
- the URI associated with the wanted
RuleExecutionSet
.RuleExecutionSet
bound to the given URI.RuleExecutionSetRepositoryException
public void registerRuleExecutionSet(String bindUri, javax.rules.admin.RuleExecutionSet ruleSet, Map properties) throws javax.rules.admin.RuleExecutionSetRegisterException
RuleExecutionSetRepository
RuleExecutionSet
under the given URI.registerRuleExecutionSet
in interface RuleExecutionSetRepository
bindUri
- 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
RuleExecutionSetRepository
RuleExecutionSet
from the given URI.unregisterRuleExecutionSet
in interface RuleExecutionSetRepository
bindUri
- the URI to disassociate with the RuleExecutionSet
.javax.rules.admin.RuleExecutionSetDeregistrationException
- if an error occurred that prevented deregistrationCopyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.