Class BDIAgent

java.lang.Object
jadex.core.impl.Component
jadex.micro.MicroAgent
jadex.bdi.runtime.impl.BDIAgent
All Implemented Interfaces:
jadex.core.IComponent

public class BDIAgent extends jadex.micro.MicroAgent
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected BDICreationInfo
    Optional creation info, i.e.
    protected static BDIModelLoader
     

    Fields inherited from class jadex.micro.MicroAgent

    pojo

    Fields inherited from class jadex.core.impl.Component

    access, accessfactory, features, id, providers

    Fields inherited from interface jadex.core.IComponent

    COMPONENT_ADDED, COMPONENT_LASTREMOVED, COMPONENT_REMOVED
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    BDIAgent(BDICreationInfo info, jadex.model.modelinfo.IModelInfo model, jadex.core.ComponentIdentifier cid)
     
    protected
    BDIAgent(Object pojo, jadex.model.modelinfo.IModelInfo model, jadex.core.ComponentIdentifier cid)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static jadex.core.IExternalAccess
    create(Object pojo)
     
    static jadex.core.IExternalAccess
    create(Object pojo, jadex.core.ComponentIdentifier cid)
     
    protected static Object
    createPojo(jadex.model.modelinfo.IModelInfo model)
     
    static jadex.model.modelinfo.IModelInfo
    Load a model.

    Methods inherited from class jadex.micro.MicroAgent

    getModel, getPojo, loadModel, toString

    Methods inherited from class jadex.core.impl.Component

    createComponent, getClassLoader, getExternalAccess, getExternalAccess, getFeature, getFeatures, getId, handleException, hasFeature, putFeature, setExternalAccessFactory, terminate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface jadex.core.IComponent

    waitForTermination
  • Field Details

  • Constructor Details

    • BDIAgent

      protected BDIAgent(BDICreationInfo info, jadex.model.modelinfo.IModelInfo model, jadex.core.ComponentIdentifier cid)
    • BDIAgent

      protected BDIAgent(Object pojo, jadex.model.modelinfo.IModelInfo model, jadex.core.ComponentIdentifier cid)
  • Method Details

    • create

      public static jadex.core.IExternalAccess create(Object pojo)
    • create

      public static jadex.core.IExternalAccess create(Object pojo, jadex.core.ComponentIdentifier cid)
    • createPojo

      protected static Object createPojo(jadex.model.modelinfo.IModelInfo model)
    • loadModel

      public static jadex.model.modelinfo.IModelInfo loadModel(String model)
      Load a model.
      Parameters:
      model - The model (e.g. file name).
      The - imports (if any).
      Returns:
      The loaded model.