public interface IDynamicBDIFactory
| Modifier and Type | Method and Description |
|---|---|
IFuture<IMECapability> |
createAgentModel(String name,
String pkg,
String[] imports,
IResourceIdentifier rid)
Create a new agent model, which can be manually edited before
starting.
|
IFuture<IModelInfo> |
loadAgentModel(String name,
InputStream input,
String filename,
IResourceIdentifier rid)
Load a model from an input stream.
|
IFuture<IModelInfo> |
registerAgentModel(IMECapability model,
String filename)
Register a manually edited agent model in the factory.
|
IFuture<IMECapability> createAgentModel(String name, String pkg, String[] imports, IResourceIdentifier rid)
name - A type name for the agent model.pkg - Optional package for the model.imports - Optional imports for the model.IFuture<IModelInfo> registerAgentModel(IMECapability model, String filename)
model - The edited agent model.filename - The filename for accessing the model.IFuture<IModelInfo> loadAgentModel(String name, InputStream input, String filename, IResourceIdentifier rid)
name - The simple model name.input - The stream with the agent xml.filename - The full name for accessing the model after loading.rid - The resource identifier for loading referenced classes etc.Copyright © 2015. All Rights Reserved.