org.drools.jsr94.rules.admin
Class LocalRuleExecutionSetProviderImpl

java.lang.Object
  |
  +--org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl
All Implemented Interfaces:
javax.rules.admin.LocalRuleExecutionSetProvider

public class LocalRuleExecutionSetProviderImpl
extends java.lang.Object
implements javax.rules.admin.LocalRuleExecutionSetProvider

The LocalRuleExecutionSetProvider�interface defines RuleExecutionSet� creation methods for defining RuleExecutionSets�from local (non-serializable) resources.

Author:
thomas diesler
See Also:
LocalRuleExecutionSetProvider

Constructor Summary
LocalRuleExecutionSetProviderImpl()
           
 
Method Summary
 javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.InputStream ruleExecutionSetStream, java.util.Map properties)
          Creates a RuleExecutionSet�implementation using a supplied input stream and additional vendor-specific properties.
 javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.lang.Object astObject, java.util.Map properties)
          Creates a RuleExecutionSet�implementation from a vendor specific AST representation and vendor-specific properties.
 javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.Reader ruleReader, java.util.Map properties)
          Creates a RuleExecutionSet�implementation using a supplied character stream Reader and vendor-specific properties..
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalRuleExecutionSetProviderImpl

public LocalRuleExecutionSetProviderImpl()
Method Detail

createRuleExecutionSet

public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.InputStream ruleExecutionSetStream,
                                                                 java.util.Map properties)
                                                          throws java.io.IOException,
                                                                 javax.rules.admin.RuleExecutionSetCreateException
Creates a RuleExecutionSet�implementation using a supplied input stream and additional vendor-specific properties.

Specified by:
createRuleExecutionSet in interface javax.rules.admin.LocalRuleExecutionSetProvider
java.io.IOException
javax.rules.admin.RuleExecutionSetCreateException
See Also:
LocalRuleExecutionSetProvider.createRuleExecutionSet(InputStream,Map)

createRuleExecutionSet

public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.lang.Object astObject,
                                                                 java.util.Map properties)
                                                          throws javax.rules.admin.RuleExecutionSetCreateException
Creates a RuleExecutionSet�implementation from a vendor specific AST representation and vendor-specific properties.

This method accepts org.drools.rule.Rule and org.drools.rule.RuleSet objects or a List of these objects.

Specified by:
createRuleExecutionSet in interface javax.rules.admin.LocalRuleExecutionSetProvider
javax.rules.admin.RuleExecutionSetCreateException
See Also:
LocalRuleExecutionSetProvider.createRuleExecutionSet(Object,Map)

createRuleExecutionSet

public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.Reader ruleReader,
                                                                 java.util.Map properties)
                                                          throws javax.rules.admin.RuleExecutionSetCreateException,
                                                                 java.io.IOException
Creates a RuleExecutionSet�implementation using a supplied character stream Reader and vendor-specific properties..

Specified by:
createRuleExecutionSet in interface javax.rules.admin.LocalRuleExecutionSetProvider
javax.rules.admin.RuleExecutionSetCreateException
java.io.IOException
See Also:
LocalRuleExecutionSetProvider.createRuleExecutionSet(Reader,Map)