|
|||||||
| PREV CLASS NEXT CLASS | NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--com.haley.haleyrules.jsr94.HaleyRuleExecutionSetProvider
|
+--com.haley.haleyrules.jsr94.RuleExecutionSetProviderImpl
This class implements the RuleExecutionSetProvider interface. The RuleExecutionSetProvider interface defines RuleExecutionSet creation methods for defining RuleExecutionSets from potentially serializable resources. These methods all take Serializable instances and this class can be implemented using an RMI stub to a remote object.
| Method Summary | |
javax.rules.admin.RuleExecutionSet |
createRuleExecutionSet(org.w3c.dom.Element docElement,
java.util.Map properties)
Creates a RuleExecutionSet implementation from an XML Document and additional vendor-specific properties. |
javax.rules.admin.RuleExecutionSet |
createRuleExecutionSet(java.io.Serializable ast,
java.util.Map properties)
Creates a RuleExecutionSet implementation from a vendor specific AST representation and vendor-specific properties |
javax.rules.admin.RuleExecutionSet |
createRuleExecutionSet(java.lang.String uri,
java.util.Map properties)
Creates a RuleExecutionSet implementation from a URI. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(org.w3c.dom.Element docElement,
java.util.Map properties)
throws javax.rules.admin.RuleExecutionSetCreateException
createRuleExecutionSet in interface javax.rules.admin.RuleExecutionSetProviderdocElement - the XML Document element that is the source of the rule execution setproperties - additonal properties used to create the RuleExecution implementationjavax.rules.admin.RuleExecutionSetCreateException - on rule execution set creation error
public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.Serializable ast,
java.util.Map properties)
throws javax.rules.admin.RuleExecutionSetCreateException
createRuleExecutionSet in interface javax.rules.admin.RuleExecutionSetProviderast - the vendor representation of a rule execution setproperties - additional properties used to create the RuleExecutionSet implementationjavax.rules.admin.RuleExecutionSetCreateException - on rule execution set creation error
public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.lang.String uri,
java.util.Map properties)
throws javax.rules.admin.RuleExecutionSetCreateException
Creates a RuleExecutionSet implementation from a URI. The URI is opaque to the specification and may be used to refer to the file system, a database, or vendor specific datasource
For the HaleyRules engine, the URI should be a file name. The supported file types are the deployment file with the extension .xml, the binary file with the extension .bin, and the HRML file with the extension .hrml.
createRuleExecutionSet in interface javax.rules.admin.RuleExecutionSetProvideruri - the URI to load the rule execution set fromproperties - additional properties used to create the RuleExecutionSet implementationjavax.rules.admin.RuleExecutionSetCreateException - on rule execution set creation error
|
|||||||
| PREV CLASS NEXT CLASS | NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||