|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The RuleAdministrator inteface is used by rule execution set administrators to load rule execution sets from external sources and create a RuleExecutionSet runtime object.
The RuleAdministrator should be accessed by calling:
RuleServiceProvider ruleServiceProvider = RuleServiceProvider.newInstance();
RuleAdministrator ruleAdministration = ruleServiceProvider.getRuleAdministrator();
In an additional step the administrator may also choose to bind the RuleExecutionSet instance to a URI so that it is globally accessible and RuleSessions can be created for the RuleExecutionSet through the RuleRuntime.
RuleExecutionSet
,
RuleSession
,
RuleRuntime
Method Summary | |
void |
deregisterRuleExecutionSet(java.lang.String bindUri,
java.util.Map properties)
Deregisters a previously registers RuleExecutionSet from a URI. |
LocalRuleExecutionSetProvider |
getLocalRuleExecutionSetProvider(java.util.Map properties)
Returns a LocalRuleExecutionSetProvider implementation or null if this implementation does not support creating a RuleExecutionSet from non-serializable resources. |
RuleExecutionSetProvider |
getRuleExecutionSetProvider(java.util.Map properties)
Returns a RuleExecutionSetProvider implementation. |
void |
registerRuleExecutionSet(java.lang.String bindUri,
RuleExecutionSet set,
java.util.Map properties)
Registers a RuleExecutionSet and associates it with a given URI. |
Method Detail |
public RuleExecutionSetProvider getRuleExecutionSetProvider(java.util.Map properties) throws java.rmi.RemoteException
properties
- additional properties
java.rmi.RemoteException
RuleExecutionSetProvider
public LocalRuleExecutionSetProvider getLocalRuleExecutionSetProvider(java.util.Map properties) throws java.rmi.RemoteException
properties
- additional properties
java.rmi.RemoteException
LocalRuleExecutionSetProvider
public void registerRuleExecutionSet(java.lang.String bindUri, RuleExecutionSet set, java.util.Map properties) throws RuleExecutionSetRegisterException, java.rmi.RemoteException
bindUri
- the URI to associate with the RuleExecutionSet.set
- the RuleExecutionSet to associate with the URIproperties
- additional properties used to perform the registration
RuleExecutionSetRegistedException
- if an error occured that prevented registration
RuleExecutionSetRegisterException
java.rmi.RemoteException
public void deregisterRuleExecutionSet(java.lang.String bindUri, java.util.Map properties) throws RuleExecutionSetDeregistrationException, java.rmi.RemoteException
bindUri
- the URI to disassociate with the RuleExecutionSet.properties
- additional properties used to perform the deregisteration
RuleExecutionSetUnregistedException
- if an error occured that prevented unregistration
RuleExecutionSetDeregistrationException
java.rmi.RemoteException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |