public class BinaryRuleBaseLoader extends Object
Constructor and Description |
---|
BinaryRuleBaseLoader()
This will create a new default rulebase (which is initially empty).
|
BinaryRuleBaseLoader(RuleBase rb)
This will add any binary packages to the rulebase.
|
BinaryRuleBaseLoader(RuleBase rb,
ClassLoader classLoader)
This will add any binary packages to the rulebase.
|
Modifier and Type | Method and Description |
---|---|
void |
addPackage(InputStream in)
This will add the BINARY package to the rulebase.
|
void |
addPackage(InputStream in,
ClassLoader classLoader)
This will add the BINARY package to the rulebase.
|
RuleBase |
getRuleBase() |
public BinaryRuleBaseLoader()
public BinaryRuleBaseLoader(RuleBase rb)
public BinaryRuleBaseLoader(RuleBase rb, ClassLoader classLoader)
public void addPackage(InputStream in)
in
- An input stream to the serialized package.public void addPackage(InputStream in, ClassLoader classLoader)
in
- An input stream to the serialized package.classLoader
- used as the parent ClassLoader for the Package's internal
ClassLaoderpublic RuleBase getRuleBase()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.