Package jadex.requiredservice.annotation
Annotation Interface RequiredService
Required service data.
todo: support hard constraints
todo: support ranking
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionjadex.model.annotation.Value[]
Deprecated.int
The maximum number of servicesint
The minimum number of services.The component internal service name.Deprecated.jadex.providedservice.ServiceScope
The search scope.The scope expression to be evaluated on initialization (only used when scope is set to ).String[]
The service tags to search for.Class
<?> The service interface type. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Constant for multiplicity many.static final String
The (default) decoupled proxy type (decouples from component thread to caller thread).static final String
The direct proxy type (supports custom interceptors, but uses caller thread).static final String
The raw proxy type (i.e.static final int
Constant for multiplicity undefined.
-
Field Details
-
PROXYTYPE_RAW
The raw proxy type (i.e. no proxy).- See Also:
-
PROXYTYPE_DIRECT
The direct proxy type (supports custom interceptors, but uses caller thread).- See Also:
-
PROXYTYPE_DECOUPLED
The (default) decoupled proxy type (decouples from component thread to caller thread).- See Also:
-
MANY
static final int MANYConstant for multiplicity many.- See Also:
-
UNDEFINED
static final int UNDEFINEDConstant for multiplicity undefined.- See Also:
-
-
Element Details
-
name
String nameThe component internal service name.- Default:
""
-
type
Class<?> typeThe service interface type.- Default:
java.lang.Object.class
-
scope
jadex.providedservice.ServiceScope scopeThe search scope.- Default:
DEFAULT
-
tags
String[] tagsThe service tags to search for.- Default:
{}
-
min
int minThe minimum number of services.- Default:
-2
-
max
int maxThe maximum number of services- Default:
-2
-
scopeexpression
String scopeexpressionThe scope expression to be evaluated on initialization (only used when scope is set to ).- Default:
""
-
proxytype
Deprecated.The proxy type.- Default:
"decoupled"
-
interceptors
Deprecated.The interceptors.- Default:
{}
-