public class BDIXModelLoader extends AbstractModelLoader
AbstractModelLoader.BrokenModel
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FILE_EXTENSION_AGENT
The agent file extension.
|
static java.lang.String |
FILE_EXTENSION_CAPABILITY
The agent file extension.
|
protected BDIXMLReader |
reader
The xml reader.
|
extensions, modelcache, registered
Constructor and Description |
---|
BDIXModelLoader()
Create a new BPMN model loader.
|
Modifier and Type | Method and Description |
---|---|
protected ICacheableModel |
doLoadModel(java.lang.String name,
java.lang.String[] imports,
ResourceInfo info,
java.lang.ClassLoader classloader,
java.lang.Object context)
Load a model.
|
CacheableKernelModel |
loadAgentModel(java.lang.String name,
java.lang.String[] imports,
IResourceIdentifier clkey,
java.lang.ClassLoader classloader,
java.lang.Object context)
Load an agent model.
|
CacheableKernelModel |
loadCapabilityModel(java.lang.String name,
java.lang.String[] imports,
IResourceIdentifier clkey,
java.lang.ClassLoader classloader,
java.lang.Object context)
Load a capability model.
|
clearModelCache, deregisterModel, getCachedModel, getResourceInfo, getResourceInfo, getResourceInfo0, loadModel, loadModel, registerModel
public static final java.lang.String FILE_EXTENSION_AGENT
public static final java.lang.String FILE_EXTENSION_CAPABILITY
protected BDIXMLReader reader
public CacheableKernelModel loadAgentModel(java.lang.String name, java.lang.String[] imports, IResourceIdentifier clkey, java.lang.ClassLoader classloader, java.lang.Object context) throws java.lang.Exception
name
- The filename or logical name (resolved via imports and extensions).imports
- The imports, if any.java.lang.Exception
public CacheableKernelModel loadCapabilityModel(java.lang.String name, java.lang.String[] imports, IResourceIdentifier clkey, java.lang.ClassLoader classloader, java.lang.Object context) throws java.lang.Exception
name
- The filename or logical name (resolved via imports and extensions).imports
- The imports, if any.java.lang.Exception
protected ICacheableModel doLoadModel(java.lang.String name, java.lang.String[] imports, ResourceInfo info, java.lang.ClassLoader classloader, java.lang.Object context) throws java.lang.Exception
doLoadModel
in class AbstractModelLoader
name
- The original name (i.e. not filename).info
- The resource info.java.lang.Exception