Package jadex.micro

Class MicroAgent

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

public class MicroAgent extends jadex.core.impl.Component
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static MicroModelLoader
     
    protected Object
     

    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
    Constructor
    Description
    MicroAgent(Object pojo, jadex.model.modelinfo.IModelInfo model)
     
    MicroAgent(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)
     
    jadex.model.modelinfo.IModelInfo
     
     
    static jadex.future.IFuture<jadex.model.modelinfo.IModelInfo>
    loadModel(String model, Object pojo, String[] imports)
    Load a model.
     

    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

    • MicroAgent

      public MicroAgent(Object pojo, jadex.model.modelinfo.IModelInfo model)
    • MicroAgent

      public MicroAgent(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)
    • getPojo

      public Object getPojo()
      Specified by:
      getPojo in interface jadex.core.IComponent
      Overrides:
      getPojo in class jadex.core.impl.Component
    • getModel

      public jadex.model.modelinfo.IModelInfo getModel()
    • loadModel

      public static jadex.future.IFuture<jadex.model.modelinfo.IModelInfo> loadModel(String model, Object pojo, String[] imports)
      Load a model.
      Parameters:
      model - The model (e.g. file name).
      The - imports (if any).
      Returns:
      The loaded model.
    • toString

      public String toString()
      Overrides:
      toString in class Object