Package jadex.micro.impl
Class MicroAgentFeature
java.lang.Object
jadex.micro.impl.MicroAgentFeature
- All Implemented Interfaces:
jadex.execution.impl.ILifecycle
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MicroAgentFeatureget()getSelf()static jadex.future.IFuture<Void>injectStuff(MicroAgent component, Object target, InjectionInfoHolder holder) Inject according to the annotations.static jadex.future.IFuture<Void>invokeMethod(MicroAgent component, Class<? extends Annotation> ann, Object[] args) Invoke an agent method by injecting required arguments.jadex.future.IFuture<Void>onEnd()jadex.future.IFuture<Void>onStart()protected static voidsetFieldValue(MicroAgent component, Object target, Object val, Field field, String convert) Set an injected field value.
-
Field Details
-
self
-
-
Constructor Details
-
MicroAgentFeature
-
-
Method Details
-
get
-
getSelf
-
onStart
- Specified by:
onStartin interfacejadex.execution.impl.ILifecycle
-
onEnd
- Specified by:
onEndin interfacejadex.execution.impl.ILifecycle
-
injectStuff
public static jadex.future.IFuture<Void> injectStuff(MicroAgent component, Object target, InjectionInfoHolder holder) Inject according to the annotations.- Parameters:
component- The component.target- The target.
-
setFieldValue
protected static void setFieldValue(MicroAgent component, Object target, Object val, Field field, String convert) Set an injected field value. -
invokeMethod
public static jadex.future.IFuture<Void> invokeMethod(MicroAgent component, Class<? extends Annotation> ann, Object[] args) Invoke an agent method by injecting required arguments.
-