|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.jsr94.rules.repository.DefaultRuleExecutionSetRepository
public class DefaultRuleExecutionSetRepository
Stores the registered RuleExecutionSet
objects.
Constructor Summary | |
---|---|
DefaultRuleExecutionSetRepository()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultRuleExecutionSetRepository()
Method Detail |
---|
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 URI
javax.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 deregistration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |