Package jadex.micro.annotation
Annotation Type RequiredService
-
@Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface RequiredServiceRequired service data. todo: support hard constraints todo: support ranking
-
-
Field Summary
Fields Modifier and Type Fields Description static intMANYConstant for multiplicity many.static java.lang.StringPROXYTYPE_DECOUPLEDThe (default) decoupled proxy type (decouples from component thread to caller thread).static java.lang.StringPROXYTYPE_DIRECTThe direct proxy type (supports custom interceptors, but uses caller thread).static java.lang.StringPROXYTYPE_RAWThe raw proxy type (i.e.static intUNDEFINEDConstant for multiplicity undefined.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Value[]interceptorsDeprecated.intmaxThe maximum number of servicesintminThe minimum number of services.java.lang.StringnameThe component internal service name.NFRProperty[]nfpropsThe required service non functional properties.java.lang.StringproxytypeDeprecated.ServiceScopescopeThe search scope.java.lang.StringscopeexpressionThe scope expression to be evaluated on initialization (only used when scope is set to {@see ServiceScope.EXPRESSION}).java.lang.String[]tagsThe service tags to search for.java.lang.Class<?>typeThe service interface type.
-
-
-
-
scope
ServiceScope scope
The search scope.- Default:
- jadex.bridge.service.ServiceScope.DEFAULT
-
-
-
nfprops
NFRProperty[] nfprops
The required service non functional properties. NOT used for search, but for adding required service properties.- Default:
- {}
-
-
-
interceptors
@Deprecated Value[] interceptors
Deprecated.The interceptors.- Default:
- {}
-
-