|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.jsr94.rules.admin.RuleExecutionSetProviderImpl
public class RuleExecutionSetProviderImpl
The Drools implementation of the RuleExecutionSetProvider
interface which defines RuleExecutionSet creation methods for
defining RuleExecutionSets from potentially serializable
resources.
RuleExecutionSetProvider| Constructor Summary | |
|---|---|
RuleExecutionSetProviderImpl()
|
|
| Method Summary | |
|---|---|
javax.rules.admin.RuleExecutionSet |
createRuleExecutionSet(Element ruleExecutionSetElement,
Map properties)
Creates a RuleExecutionSet implementation from an XML
Document and additional Drools-specific properties. |
javax.rules.admin.RuleExecutionSet |
createRuleExecutionSet(Serializable ruleExecutionSetAst,
Map properties)
Creates a RuleExecutionSet implementation from a
Drools-specific Abstract Syntax Tree (AST) representation and
Drools-specific properties. |
javax.rules.admin.RuleExecutionSet |
createRuleExecutionSet(String ruleExecutionSetUri,
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 |
| Constructor Detail |
|---|
public RuleExecutionSetProviderImpl()
| Method Detail |
|---|
public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(Element ruleExecutionSetElement, Map properties) throws javax.rules.admin.RuleExecutionSetCreateException
RuleExecutionSet implementation from an XML
Document and additional Drools-specific properties. A Drools-specific
rule execution set is read from the supplied XML Document.
createRuleExecutionSet in interface javax.rules.admin.RuleExecutionSetProviderruleExecutionSetElement - the XML element that is the source of the
rule execution setproperties - additional properties used to create the
RuleExecutionSet implementation.
May be null.
RuleExecutionSet.
javax.rules.admin.RuleExecutionSetCreateException - on rule execution set creation
error.public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(Serializable ruleExecutionSetAst, Map properties) throws javax.rules.admin.RuleExecutionSetCreateException
RuleExecutionSet implementation from a
Drools-specific Abstract Syntax Tree (AST) representation and
Drools-specific properties.
This method accepts a org.drools.RuleBase object as its
vendor-specific AST representation.
createRuleExecutionSet in interface javax.rules.admin.RuleExecutionSetProviderruleExecutionSetAst - the Drools representation of a
rule execution setproperties - additional properties used to create the
RuleExecutionSet implementation.
May be null.
RuleExecutionSet.
javax.rules.admin.RuleExecutionSetCreateException - on rule execution set creation
error.public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(String ruleExecutionSetUri, Map properties) throws javax.rules.admin.RuleExecutionSetCreateException, IOException
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 Drools-specific datasource.
createRuleExecutionSet in interface javax.rules.admin.RuleExecutionSetProviderruleExecutionSetUri - the URI to load the rule execution set fromproperties - additional properties used to create the
RuleExecutionSet implementation.
May be null.
RuleExecutionSet.
javax.rules.admin.RuleExecutionSetCreateException - on rule execution set creation
error.
IOException - if an I/O error occurs while accessing the URI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||