| |
|
| java.lang.Object org.drools.jsr94.rules.admin.RuleAdministratorImpl
RuleAdministratorImpl | public class RuleAdministratorImpl implements RuleAdministrator,java.io.Serializable(Code) | | The Drools implementation of the RuleAdministrator interface
which 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 RuleSession s can be created for the
RuleExecutionSet through the RuleRuntime.
See Also: RuleAdministrator author: N. Alex Rupp (n_alex codehaus.org) author: thomas diesler |
deregisterRuleExecutionSet | public void deregisterRuleExecutionSet(String bindUri, Map properties) throws RuleExecutionSetDeregistrationException(Code) | | Unregisters a previously registered RuleExecutionSet from
a URI.
Parameters: bindUri - the URI to disassociate with the RuleExecutionSet . Parameters: properties - additional properties used to perform the deregistration throws: RuleExecutionSetDeregistrationException - if an error occurred that prevented unregistration |
getLocalRuleExecutionSetProvider | public LocalRuleExecutionSetProvider getLocalRuleExecutionSetProvider(Map properties)(Code) | | Returns a LocalRuleExecutionSetProvider implementation.
Returns a LocalRuleExecutionSetProvider implementation or
null if this implementation does not support creating a
RuleExecutionSet from non-serializable resources.
Parameters: properties - additional properties The created LocalRuleExecutionSetProvider . |
getRuleExecutionSetProvider | public RuleExecutionSetProvider getRuleExecutionSetProvider(Map properties)(Code) | | Returns a RuleExecutionSetProvider implementation.
Parameters: properties - additional properties The created RuleExecutionSetProvider . |
registerRuleExecutionSet | public void registerRuleExecutionSet(String bindUri, RuleExecutionSet set, Map properties) throws RuleExecutionSetRegisterException(Code) | | Registers a RuleExecutionSet and associates it with a
given URI. Once a RuleExecutionSet has been registered it
is accessible to runtime clients through the RuleRuntime .
If a RuleExecutionSet has already been associated with the
URI it should be deregistered (as if
deregisterRuleExecutionSet/ had been called) and the URI
should be associated with the new RuleExecutionSet .
Parameters: bindUri - the URI to associate with the RuleExecutionSet . Parameters: set - the RuleExecutionSet to associate with the URI Parameters: properties - additional properties used to perform the registration throws: RuleExecutionSetRegisterException - if an error occurred that prevented registration |
|
|
|