com.haley.haleyrules.jsr94
Class LocalRuleExecutionSetProviderImpl

java.lang.Object
  |
  +--com.haley.haleyrules.jsr94.HaleyRuleExecutionSetProvider
        |
        +--com.haley.haleyrules.jsr94.LocalRuleExecutionSetProviderImpl
All Implemented Interfaces:
javax.rules.admin.LocalRuleExecutionSetProvider

public class LocalRuleExecutionSetProviderImpl
extends com.haley.haleyrules.jsr94.HaleyRuleExecutionSetProvider
implements javax.rules.admin.LocalRuleExecutionSetProvider

This class implements the LocalRuleExecutionSetProvider interface. This interface defines RuleExecutionSet creation methods for defining RuleExecutionSets from local (non-serializable) resources.


Method Summary
 javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.InputStream inputStream, 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 ruleExecutionSetAst, 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 ruleExecutionSetReader, java.util.Map properties)
          Creates a RuleExecutionSet implementation using a supplied character stream Reader and additional vendor-specific properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createRuleExecutionSet

public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.InputStream inputStream,
                                                                 java.util.Map properties)
                                                          throws javax.rules.admin.RuleExecutionSetCreateException
Creates a RuleExecutionSet implementation using a supplied input stream and additional vendor-specific properties. A vendor-specific rule execution set is read from the supplied InputStream. The method createRuleExecutionSet taking a Reader instance should be used if the source is a character stream and encoding conversion should be performed.
Specified by:
createRuleExecutionSet in interface javax.rules.admin.LocalRuleExecutionSetProvider
Parameters:
inputStream - an input stream used to read the rule execution set.
properties - additional properties used to create the RuleExecutionSet implementation. May be null.
Returns:
RuleExecutionSet
Throws:
javax.rules.admin.RuleExecutionSetCreateException - on rule execution set creation error.

createRuleExecutionSet

public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.Reader ruleExecutionSetReader,
                                                                 java.util.Map properties)
                                                          throws javax.rules.admin.RuleExecutionSetCreateException,
                                                                 java.io.IOException
Creates a RuleExecutionSet implementation using a supplied character stream Reader and additional vendor-specific properties. A vendor-specific rule execution set is read from the supplied Reader.
Specified by:
createRuleExecutionSet in interface javax.rules.admin.LocalRuleExecutionSetProvider
Parameters:
ruleExecutionSetReader - a Reader used to read the rule execution set.
properties - additional properties used to create the RuleExecutionSet implementation. May be null.
Returns:
RuleExecutionSet
Throws:
javax.rules.admin.RuleExecutionSetCreateException - on rule execution set creation error.
java.io.IOException - on input I/O error.

createRuleExecutionSet

public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.lang.Object ruleExecutionSetAst,
                                                                 java.util.Map properties)
                                                          throws javax.rules.admin.RuleExecutionSetCreateException
Creates a RuleExecutionSet implementation from a vendor specific AST representation and vendor-specific properties.
Specified by:
createRuleExecutionSet in interface javax.rules.admin.LocalRuleExecutionSetProvider
Parameters:
ruleExecutionSetAst - the vendor representation of a rule execution set
properties - additional properties used to create the RuleExecutionSet implementation. May be null.
Returns:
RuleExecutionSet
Throws:
javax.rules.admin.RuleExecutionSetCreateException - on rule execution set creation error.


Copyright © 2005-2006 Haley Systems, Inc. All Rights Reserved.