|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.jsr94.rules.admin.RuleExecutionSetRepository
Stores the registered RuleExecutionSet
objects.
![]() |
![]() |
Method Summary | |
static RuleExecutionSetRepository |
getInstance()
Gets the Singleton instance of a RuleExecutionSetRepository . |
java.util.List |
getRegistrations()
Retrieves a List of the URIs that currently have
RuleExecutionSet s 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 |
public static RuleExecutionSetRepository getInstance()
RuleExecutionSetRepository
.
public java.util.List getRegistrations()
List
of the URIs that currently have
RuleExecutionSet
s associated with them.
An empty list is returned is there are no associations.
List
of the URIs that currently have
RuleExecutionSet
s associated with them.public javax.rules.admin.RuleExecutionSet getRuleExecutionSet(java.lang.String bindUri)
RuleExecutionSet
bound to this URI, or return
null
.
bindUri
- the URI associated with the wanted
RuleExecutionSet
.
RuleExecutionSet
bound to the given URI.public void registerRuleExecutionSet(java.lang.String bindUri, javax.rules.admin.RuleExecutionSet ruleSet) throws javax.rules.admin.RuleExecutionSetRegisterException
RuleExecutionSet
under the given URI.
javax.rules.admin.RuleExecutionSetRegisterException
- if an error occurred that
prevented registration
(i.e. if bindUri or ruleSet are null
)bindUri
- the URI to associate with the
RuleExecutionSet
.ruleSet
- the RuleExecutionSet
to associate with the
URIpublic void unregisterRuleExecutionSet(java.lang.String bindUri)
RuleExecutionSet
from the given URI.
bindUri
- the URI to disassociate with the
RuleExecutionSet
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |