public
classRuleRuntimeImpl
implements
RuleRuntime
Overview
Inheritance
Members
Usage
Source
Books
SinceNot specified.
VersionNot specified.
Author(s)N. Alex Rupp (n_alex codehaus.org)
The Drools implementation of the RuleRuntime interface which
is the access point for runtime execution of RuleExecutionSets.
It provides methods to create RuleSession implementation as
well as methods to retrieve RuleExecutionSets that have been
previously registered using the RuleAdministrator. The
RuleRuntime should be accessed through the
RuleServiceProvider. An instance of the
RuleRuntime can be retrieved by calling:
RuleServiceProvider ruleServiceProvider =
RuleServiceProvider.newInstance();
RuleRuntime ruleRuntime = ruleServiceProvider.getRuleRuntime();
Note: the release method must be called on the RuleSession
to clean up all resources used by the RuleSession.
RuleRuntimeinterface which is the access point for runtime execution ofRuleExecutionSets. It provides methods to createRuleSessionimplementation as well as methods to retrieveRuleExecutionSets that have been previously registered using theRuleAdministrator. TheRuleRuntimeshould be accessed through theRuleServiceProvider. An instance of theRuleRuntimecan be retrieved by calling:RuleServiceProvider ruleServiceProvider = RuleServiceProvider.newInstance();Note: the release method must be called on theRuleRuntime ruleRuntime = ruleServiceProvider.getRuleRuntime();
RuleSessionto clean up all resources used by theRuleSession.