@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
public @interface RequiredService
Modifier and Type | Fields and Description |
---|---|
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.
|
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
name
The component internal service name.
|
java.lang.Class<?> |
type
The service interface type.
|
Modifier and Type | Optional Element and Description |
---|---|
Value[] |
interceptors
The interceptors.
|
boolean |
multiple
Flag if multiple services should be returned.
|
NFRProperty[] |
nfprops
The required service non functional properties.
|
java.lang.String |
proxytype
The proxy type.
|
ServiceScope |
scope
The search scope.
|
java.lang.String[] |
tags
The service tags to search for.
|
public static final java.lang.String PROXYTYPE_RAW
public static final java.lang.String PROXYTYPE_DIRECT
public static final java.lang.String PROXYTYPE_DECOUPLED
public abstract ServiceScope scope
public abstract boolean multiple
public abstract NFRProperty[] nfprops
public abstract Value[] interceptors