|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.rules.engine.load.EngineLoader
public class EngineLoader
You use an EngineLoader
instance to load an EngineDefinition
object from an OpenXML document.
Constructor Summary | |
---|---|
EngineLoader(File file)
Creates an EngineLoader instance to load a file. |
|
EngineLoader(File file,
ClassLoader XOMClassLoader,
EngineService... engineServices)
Creates an EngineLoader instance to load a file using a ClassLoader with
specific EngineServices . |
|
EngineLoader(InputStream inputStream,
ClassLoader XOMClassLoader,
EngineService... engineServices)
Creates an EngineLoader instance to load a binary stream using a ClassLoader with
specific EngineServices . |
Method Summary | |
---|---|
EngineDefinition |
load()
Creates and loads an EngineDefinition instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EngineLoader(File file)
EngineLoader
instance to load a file.
file
- The file to load.public EngineLoader(File file, ClassLoader XOMClassLoader, EngineService... engineServices)
EngineLoader
instance to load a file using a ClassLoader
with
specific EngineServices
.
file
- The file to load.XOMClassLoader
- The class loader to use for loading the XOM classes.engineServices
- Engine services that will be passed to the engine definition constructor.public EngineLoader(InputStream inputStream, ClassLoader XOMClassLoader, EngineService... engineServices)
EngineLoader
instance to load a binary stream using a ClassLoader
with
specific EngineServices
.
inputStream
- a stream on a DSAR archive,XOMClassLoader
- a classloader instance containing the XOM classes if they aren't present in the
current classloader. Could be null.engineServices
- Engine services that will be passed to the engine definition constructor.Method Detail |
---|
public EngineDefinition load()
EngineDefinition
instance.
EngineDefinition
instance.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |