@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
public @interface Binding
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.
|
static java.lang.String |
SCOPE_APPLICATION
Application scope.
|
static java.lang.String |
SCOPE_COMPONENT
Component scope.
|
static java.lang.String |
SCOPE_GLOBAL
Global scope.
|
static java.lang.String |
SCOPE_LOCAL
Local component scope.
|
static java.lang.String |
SCOPE_NONE
None component scope (nothing will be searched, forces required service creation).
|
static java.lang.String |
SCOPE_PARENT
Parent scope.
|
static java.lang.String |
SCOPE_PLATFORM
Platform scope.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
componentname
The component name.
|
java.lang.String |
componenttype
The component type.
|
boolean |
create
The create component flag.
|
CreationInfo |
creationinfo
The creation info (cannot use @Component as no cycles are allowed in annotations).
|
boolean |
dynamic
The dynamic binding flag.
|
Value[] |
interceptors
The interceptors.
|
java.lang.String |
name
The binding name.
|
java.lang.String |
proxytype
The proxy type.
|
boolean |
recover
The error recover flag.
|
java.lang.String |
scope
The search scope.
|
public static final java.lang.String SCOPE_NONE
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 java.lang.String proxytype
public abstract CreationInfo creationinfo
public abstract Value[] interceptors