Class | Description |
---|---|
BeanPropertyType.Literal |
Support inline instantiation of the
BeanPropertyType annotation. |
ComponentProperties.Literal |
Support inline instantiation of the
ComponentProperties annotation. |
ComponentScoped.Literal |
Support inline instantiation of the
ComponentScoped annotation. |
FactoryComponent.Literal |
Support inline instantiation of the
FactoryComponent annotation. |
MinimumCardinality.Literal |
Support inline instantiation of the
MinimumCardinality annotation. |
PID.Literal |
Support inline instantiation of the
PID annotation. |
PIDs.Literal |
Support inline instantiation of the
PIDs annotation. |
PrototypeRequired.Literal |
Support inline instantiation of the
PrototypeRequired annotation. |
Reference.Any |
A marker type used in
Reference.value() to indicate that a
reference injection point may accept any service type(s). |
Reference.Literal |
Support inline instantiation of the
Reference annotation. |
Reluctant.Literal |
Support inline instantiation of the
Reluctant annotation. |
Service.Literal |
Support inline instantiation of the
Service annotation. |
ServiceInstance.Literal |
Support inline instantiation of the
ServiceInstance annotation. |
SingleComponent.Literal |
Support inline instantiation of the
SingleComponent annotation. |
Annotation Type | Description |
---|---|
Bean |
Annotation used to indicate that build tooling must be included the class in
the
osgi.cdi beans list. |
BeanPropertyType |
Identify the annotated annotation as a Bean Property Type.
|
Beans |
Annotation used to indicate that build tooling must be included the specified
classes in the
osgi.cdi beans list. |
ComponentProperties |
Annotation used with
Inject in order to have component properties
injected. |
ComponentScoped |
This scope is used to declare a bean who's lifecycle is determined by the
state of it's OSGi dependencies and the
SingleComponent(s) and FactoryComponent(s) that may
reference it through injection. |
FactoryComponent |
Identifies a factory component.
|
MinimumCardinality |
Annotation used in conjunction with
Reference to specify the minimum
cardinality reference property. |
PID |
Annotation used in collaboration with
ComponentScoped to specify
singleton configurations and their policy. |
PIDs |
Annotation used in conjunction with
ComponentScoped in order to
associate configurations with the component bean. |
PrototypeRequired |
Used with
@Reference , BindService ,
BindBeanServiceObjects and BindServiceReference to indicate
that the service must be service.scope=prototype . |
Reference |
Annotation used on injection points informing the CDI container that the
injection should apply a service obtained from the OSGi registry.
|
Reluctant |
Annotation used to indicate that the behavior of the reference should be
reluctant.
|
RequireCDIExtender |
This annotation can be used to require the CDI Component Runtime extender.
|
RequireCDIImplementation |
This annotation can be used to require the CDI Component Runtime
implementation.
|
Service |
Annotation used to specify that a bean should be published as a service.
|
ServiceInstance |
Annotation used on beans, observer methods and observer fields to specify the
service scope for the service.
|
SingleComponent |
Identifies a single component.
|
Bundles wishing to use this package must list the package in the Import-Package header of the bundle's manifest. This package has two types of users: the consumers that use the API in this package and the providers that implement the API in this package.
Example import for consumers using the API in this package:
Import-Package: org.osgi.service.cdi.annotations; version="[1.0,2.0)"
Example import for providers implementing the API in this package:
Import-Package: org.osgi.service.cdi.annotations; version="[1.0,1.1)"
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0