Package jadex.micro.annotation
Annotation Type RequiredService
-
@Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface RequiredService
Required service data. todo: support hard constraints todo: support ranking
-
-
Field Summary
Fields Modifier and Type Fields Description static int
MANY
Constant for multiplicity many.static java.lang.String
PROXYTYPE_DECOUPLED
The (default) decoupled proxy type (decouples from component thread to caller thread).static java.lang.String
PROXYTYPE_DIRECT
The direct proxy type (supports custom interceptors, but uses caller thread).static java.lang.String
PROXYTYPE_RAW
The raw proxy type (i.e.static int
UNDEFINED
Constant for multiplicity undefined.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Value[]
interceptors
Deprecated.int
max
The maximum number of servicesint
min
The minimum number of services.java.lang.String
name
The component internal service name.NFRProperty[]
nfprops
The required service non functional properties.java.lang.String
proxytype
Deprecated.ServiceScope
scope
The search scope.java.lang.String
scopeexpression
The scope expression to be evaluated on initialization (only used when scope is set to {@see ServiceScope.EXPRESSION}).java.lang.String[]
tags
The service tags to search for.java.lang.Class<?>
type
The 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:
- {}
-
-