站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

LocalRuleExecutionSetProviderImpl (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.jsr94.rules.admin
Class LocalRuleExecutionSetProviderImpl

java.lang.Object
  extended by org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl
All Implemented Interfaces:
javax.rules.admin.LocalRuleExecutionSetProvider

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

The Drools implementation of the LocalRuleExecutionSetProvider interface which defines RuleExecutionSet creation methods for defining RuleExecutionSets from local (non-serializable) resources.

Author:
N. Alex Rupp (n_alex codehaus.org), thomas diesler , michael frandsen
See Also:
LocalRuleExecutionSetProvider

Constructor Summary
LocalRuleExecutionSetProviderImpl()
          Default constructor.
 
Method Summary
 javax.rules.admin.RuleExecutionSet createRuleExecutionSet(InputStream ruleExecutionSetStream, Map properties)
          Creates a RuleExecutionSet implementation using a supplied input stream and additional Drools-specific properties.
 javax.rules.admin.RuleExecutionSet createRuleExecutionSet(Object ruleExecutionSetAst, Map properties)
          Creates a RuleExecutionSet implementation from a Drools-specific AST representation and Drools-specific properties.
 javax.rules.admin.RuleExecutionSet createRuleExecutionSet(Reader ruleExecutionSetReader, Map properties)
          Creates a RuleExecutionSet implementation using a supplied character stream Reader and additional Drools-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()
Default constructor.

Method Detail

createRuleExecutionSet

public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(InputStream ruleExecutionSetStream,
                                                                 Map properties)
                                                          throws javax.rules.admin.RuleExecutionSetCreateException
Creates a RuleExecutionSet implementation using a supplied input stream and additional Drools-specific properties. A Drools-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:
ruleExecutionSetStream - an input stream used to read the rule execution set.
properties - additional properties used to create the RuleExecutionSet implementation. May be null.
Returns:
The created RuleExecutionSet.
Throws:
javax.rules.admin.RuleExecutionSetCreateException - on rule execution set creation error.

createRuleExecutionSet

public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(Reader ruleExecutionSetReader,
                                                                 Map properties)
                                                          throws javax.rules.admin.RuleExecutionSetCreateException
Creates a RuleExecutionSet implementation using a supplied character stream Reader and additional Drools-specific properties. A Drools-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:
The created RuleExecutionSet.
Throws:
javax.rules.admin.RuleExecutionSetCreateException - on rule execution set creation error.

createRuleExecutionSet

public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(Object ruleExecutionSetAst,
                                                                 Map properties)
                                                          throws javax.rules.admin.RuleExecutionSetCreateException
Creates a RuleExecutionSet implementation from a Drools-specific AST representation and Drools-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:
The created RuleExecutionSet.
Throws:
javax.rules.admin.RuleExecutionSetCreateException - on rule execution set creation error.


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.