Package jadex.micro.annotation
Annotation Type Agent
-
@Target({TYPE,FIELD}) @Retention(RUNTIME) public @interface AgentMarker for agent class and variable.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Boolean3autoprovideAuto-provide provided services that are directly implemented by the agent.Boolean3autostartAuto-start this agent on platform startup.Boolean3keepaliveIf the agent body has a void return value or no body at all this flag can be used to determine if the agent should be kept alive.IMonitoringService.PublishEventLevelmonitoringSpecify if monitoring should be enabled on the component.java.lang.StringnameDefault name for the started component.java.lang.String[]predecessorsRequired predecessors (dependencies).java.lang.String[]successorsDeclared successors (dependencies).Boolean3suspendSpecify if the component should be suspened on creation.Boolean3synchronousSpecify if the subcomponent should run synchronously on its parent's thread.java.lang.StringtypeThe agent type.
-
-
-
Element Detail
-
keepalive
Boolean3 keepalive
If the agent body has a void return value or no body at all this flag can be used to determine if the agent should be kept alive.- Default:
- jadex.commons.Boolean3.NULL
-
-
-
suspend
Boolean3 suspend
Specify if the component should be suspened on creation.- Default:
- jadex.commons.Boolean3.NULL
-
-
-
synchronous
Boolean3 synchronous
Specify if the subcomponent should run synchronously on its parent's thread.- Default:
- jadex.commons.Boolean3.NULL
-
-
-
monitoring
IMonitoringService.PublishEventLevel monitoring
Specify if monitoring should be enabled on the component.- Default:
- jadex.bridge.service.types.monitoring.IMonitoringService.PublishEventLevel.NULL
-
-
-
autoprovide
Boolean3 autoprovide
Auto-provide provided services that are directly implemented by the agent.- Default:
- jadex.commons.Boolean3.NULL
-
-
-
autostart
Boolean3 autostart
Auto-start this agent on platform startup.- Default:
- jadex.commons.Boolean3.NULL
-
-