Package oracle.rules.jsr94.admin
Class RLLocalRuleExecutionSetProvider
java.lang.Object
oracle.rules.jsr94.admin.RLLocalRuleExecutionSetProvider
- All Implemented Interfaces:
Serializable,javax.rules.admin.LocalRuleExecutionSetProvider
public class RLLocalRuleExecutionSetProvider
extends Object
implements javax.rules.admin.LocalRuleExecutionSetProvider, Serializable
The Oracle Business Rules implementation of the LocalRuleExecutionSetProvider
interface.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.rules.admin.RuleExecutionSetcreateRuleExecutionSet(InputStream is, Map properties) Create a RuleExecutionSet implementation from the specified input stream.javax.rules.admin.RuleExecutionSetcreateRuleExecutionSet(Reader reader, Map properties) Create a RuleExecutionSet implementation from the specified Reader.javax.rules.admin.RuleExecutionSetcreateRuleExecutionSet(Object ast, Map properties) Create a RuleExecutionSet implementation from an abstract syntax tree.javax.rules.admin.RuleExecutionSetcreateRuleExecutionSet(String name, String description, RuleSource[] sources, String[] rulesetStack, Map properties) Create a RuleExecutionSet implementation from the specified parameters.
-
Constructor Details
-
RLLocalRuleExecutionSetProvider
public RLLocalRuleExecutionSetProvider()
-
-
Method Details
-
createRuleExecutionSet
public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(InputStream is, Map properties) throws javax.rules.admin.RuleExecutionSetCreateException, IOException Create a RuleExecutionSet implementation from the specified input stream. The input stream is used to read the XML document that describes the desired RuleExecutionSet.- Specified by:
createRuleExecutionSetin interfacejavax.rules.admin.LocalRuleExecutionSetProvider- Parameters:
is- the InputStreamproperties- optional properties.- Returns:
- the RuleExecutionSet
- Throws:
IOException- on an input stream I/O error.javax.rules.admin.RuleExecutionSetCreateException- if an error is encountered creating the RuleExecutionSet.
-
createRuleExecutionSet
public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(Object ast, Map properties) throws javax.rules.admin.RuleExecutionSetCreateException Create a RuleExecutionSet implementation from an abstract syntax tree. This method is not supported and invoking it will throw a RuleExecutionSetCreateException.- Specified by:
createRuleExecutionSetin interfacejavax.rules.admin.LocalRuleExecutionSetProvider- Parameters:
ast- the abstract syntax treeproperties- optional properties.- Returns:
- the RuleExecutionSet
- Throws:
javax.rules.admin.RuleExecutionSetCreateException- always.
-
createRuleExecutionSet
public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(Reader reader, Map properties) throws javax.rules.admin.RuleExecutionSetCreateException, IOException Create a RuleExecutionSet implementation from the specified Reader. The Reader is used to read the XML document that describes the desired RuleExecutionSet.- Specified by:
createRuleExecutionSetin interfacejavax.rules.admin.LocalRuleExecutionSetProvider- Parameters:
reader- the Readerproperties- optional properties.- Returns:
- the RuleExecutionSet
- Throws:
IOException- on an I/O error reading the document.javax.rules.admin.RuleExecutionSetCreateException- if an error is encountered creating the RuleExecutionSet.
-
createRuleExecutionSet
public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(String name, String description, RuleSource[] sources, String[] rulesetStack, Map properties) throws javax.rules.admin.RuleExecutionSetCreateException Create a RuleExecutionSet implementation from the specified parameters.- Parameters:
name- the name of the RuleExecutionSet.description- a description of the RuleExecutionSet.sources- an array of RuleSource instances that describe where the rules for this RuleExecutionSet can be accessed.rulesetStack- an array of ruleset names which represent the desired content of the rulesetStack prior to executing the rules.properties- optional properties.- Returns:
- the RuleExecutionSet
- Throws:
javax.rules.admin.RuleExecutionSetCreateException- if an error is encountered creating the RuleExecutionSet.
-