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

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


org.drools.util
Class BinaryRuleBaseLoader

java.lang.Object
  extended by org.drools.util.BinaryRuleBaseLoader

public class BinaryRuleBaseLoader
extends Object

This loads up rulebases from binary packages. Can work with an existing or a new rulebase. This is useful for deployment.

Author:
Michael Neale

Constructor Summary
BinaryRuleBaseLoader()
          This will create a new default rulebase (which is initially empty).
BinaryRuleBaseLoader(RuleBase rb)
          This will add any binary packages to the rulebase.
 
Method Summary
 void addPackage(InputStream in)
          This will add the BINARY package to the rulebase.
 RuleBase getRuleBase()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryRuleBaseLoader

public BinaryRuleBaseLoader()
This will create a new default rulebase (which is initially empty).


BinaryRuleBaseLoader

public BinaryRuleBaseLoader(RuleBase rb)
This will add any binary packages to the rulebase.

Method Detail

addPackage

public void addPackage(InputStream in)
This will add the BINARY package to the rulebase.

Parameters:
in - An input stream to the serialized package.

getRuleBase

public RuleBase getRuleBase()


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