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
FieldsFields 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
ConstructorsConstructorDescriptionMicroAgent
(Object pojo, jadex.model.modelinfo.IModelInfo model) MicroAgent
(Object pojo, jadex.model.modelinfo.IModelInfo model, jadex.core.ComponentIdentifier cid) -
Method Summary
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
-
loader
-
pojo
-
-
Constructor Details
-
MicroAgent
-
MicroAgent
public MicroAgent(Object pojo, jadex.model.modelinfo.IModelInfo model, jadex.core.ComponentIdentifier cid)
-
-
Method Details
-
create
-
create
-
getPojo
- Specified by:
getPojo
in interfacejadex.core.IComponent
- Overrides:
getPojo
in classjadex.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
-