Package jadex.micro.annotation
Annotation Type OnService
- 
 @Target({FIELD,METHOD}) @Retention(RUNTIME) public @interface OnService
- 
- 
Optional Element SummaryOptional Elements Modifier and Type Optional Element Description longactiveHow long shall the query be active?Boolean3lazytodo: remove and replace by query.java.lang.StringnameThe required service name that is used for searching the service.Boolean3queryShould be used as service query.Boolean3requiredFail at startup if no service is found?RequiredServicerequiredserviceDefine a required service inline.
 
- 
- 
- 
Element Detail- 
queryBoolean3 query Should be used as service query.- Default:
- jadex.commons.Boolean3.NULL
 
 
- 
 - 
- 
requiredBoolean3 required Fail at startup if no service is found?- Default:
- jadex.commons.Boolean3.NULL
 
 
- 
 - 
- 
lazyBoolean3 lazy todo: remove and replace by query. If is lazy the service search will happen on first call. This can go wrong if first call is a synchronous message. If lazy is false, the agent might block when search takes time.- Default:
- jadex.commons.Boolean3.NULL
 
 
- 
 - 
- 
requiredserviceRequiredService requiredservice Define a required service inline. If given no name it will receive the field name as name.- Default:
- @jadex.micro.annotation.RequiredService(name="", type=java.lang.Object.class)
 
 
- 
 
-