| java.lang.Object biz.hammurapi.rules.jsr94.FileRuleRuntime
FileRuleRuntime | class FileRuleRuntime implements javax.rules.RuleRuntime(Code) | | Loads rules from configuration file.
author: Pavel Vlasov |
Constructor Summary | |
| FileRuleRuntime(Map registrations) Constructs rule runtime from registrations. |
FileRuleRuntime | FileRuleRuntime(Map registrations)(Code) | | Constructs rule runtime from registrations.
|
createRuleSession | public RuleSession createRuleSession(String uri, Map properties, int type) throws RuleSessionTypeUnsupportedException, RuleSessionCreateException, RuleExecutionSetNotFoundException(Code) | | Creates rule session.
Parameters: uri - Registration name for rule set. If uri starts with direct: then the rest is treated as direct URI of rule set definition.If URI tail starts with resource: then rule set definition is loaded from classloader resource, otherwise it is loaded from URL.If URI tails starts with property: then rule set is read from a property. Property value can be of type InputStream, Reader, org.w3c.Element, String, File or URL. Parameters: properties - Vendor-specific properties. Parameters: type - Session type. |
getRegistrations | public List getRegistrations()(Code) | | Returns list of registrations.
|
|
|