| java.lang.Object org.drools.util.BinaryRuleBaseLoader
BinaryRuleBaseLoader | public class BinaryRuleBaseLoader (Code) | | This loads up rulebases from binary packages.
Can work with an existing or a new rulebase.
This is useful for deployment.
author: Michael Neale |
BinaryRuleBaseLoader | public BinaryRuleBaseLoader()(Code) | | This will create a new default rulebase (which is initially empty).
Optional parent classLoader for the Package's internal ClassLoader
is Thread.currentThread.getContextClassLoader()
|
BinaryRuleBaseLoader | public BinaryRuleBaseLoader(RuleBase rb)(Code) | | This will add any binary packages to the rulebase.
Optional parent classLoader for the Package's internal ClassLoader
is Thread.currentThread.getContextClassLoader()
|
BinaryRuleBaseLoader | public BinaryRuleBaseLoader(RuleBase rb, ClassLoader classLoader)(Code) | | This will add any binary packages to the rulebase.
Optional classLoader to be used as the parent ClassLoader
for the Package's internal ClassLoader, is Thread.currentThread.getContextClassLoader()
if not user specified.
|
addPackage | public void addPackage(InputStream in)(Code) | | This will add the BINARY package to the rulebase.
Uses the member ClassLoader as the Package's internal parent classLoader
which is Thread.currentThread.getContextClassLoader if not user specified
Parameters: in - An input stream to the serialized package. |
addPackage | public void addPackage(InputStream in, ClassLoader classLoader)(Code) | | This will add the BINARY package to the rulebase.
Parameters: in - An input stream to the serialized package. Parameters: optional - classLoader used as the parent ClassLoader for the Package's internal ClassLaoder |
|
|