Package jadex.bdiv3x

Class BDIXModelLoader

    • Field Detail

      • FILE_EXTENSION_AGENT

        public static final java.lang.String FILE_EXTENSION_AGENT
        The agent file extension.
        See Also:
        Constant Field Values
      • FILE_EXTENSION_CAPABILITY

        public static final java.lang.String FILE_EXTENSION_CAPABILITY
        The agent file extension.
        See Also:
        Constant Field Values
    • Constructor Detail

      • BDIXModelLoader

        public BDIXModelLoader()
        Create a new BPMN model loader.
    • Method Detail

      • loadAgentModel

        public jadex.kernelbase.CacheableKernelModel loadAgentModel​(java.lang.String name,
                                                                    java.lang.String[] imports,
                                                                    IResourceIdentifier clkey,
                                                                    java.lang.ClassLoader classloader,
                                                                    java.lang.Object context)
                                                             throws java.lang.Exception
        Load an agent model.
        Parameters:
        name - The filename or logical name (resolved via imports and extensions).
        imports - The imports, if any.
        Throws:
        java.lang.Exception
      • loadCapabilityModel

        public jadex.kernelbase.CacheableKernelModel loadCapabilityModel​(java.lang.String name,
                                                                         java.lang.String[] imports,
                                                                         IResourceIdentifier clkey,
                                                                         java.lang.ClassLoader classloader,
                                                                         java.lang.Object context)
                                                                  throws java.lang.Exception
        Load a capability model.
        Parameters:
        name - The filename or logical name (resolved via imports and extensions).
        imports - The imports, if any.
        Throws:
        java.lang.Exception
      • doLoadModel

        protected ICacheableModel doLoadModel​(java.lang.String name,
                                              java.lang.Object pojo,
                                              java.lang.String[] imports,
                                              ResourceInfo info,
                                              java.lang.ClassLoader classloader,
                                              java.lang.Object context)
                                       throws java.lang.Exception
        Load a model.
        Specified by:
        doLoadModel in class AbstractModelLoader
        Parameters:
        name - The original name (i.e. not filename).
        info - The resource info.
        Throws:
        java.lang.Exception