Top Description Annotations
module org.osgi.service.cdi

Package org.osgi.service.cdi.annotations

Annotations
@Version:1.0.1
Imports
org.osgi.annotation.versioning.Version, org.osgi.service.cdi.CDIConstants

CDI Integration Package Version 1.0.

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)"

Author
$Id: 8739d6ba9ac0248a8239edd5da15634371141ab3 $

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
Bean

Annotation used to indicate that build tooling must be included the class in the osgi.cdi beans list.

public @interface
BeanPropertyType

Identify the annotated annotation as a Bean Property Type.

public @interface
Beans

Annotation used to indicate that build tooling must be included the specified classes in the osgi.cdi beans list.

public @interface
ComponentProperties

Annotation used with Inject in order to have component properties injected.

public @interface
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.

public @interface
FactoryComponent

Identifies a factory component.

public @interface
MinimumCardinality

Annotation used in conjunction with Reference to specify the minimum cardinality reference property.

public @interface
PID

Annotation used in collaboration with ComponentScoped to specify singleton configurations and their policy.

public @interface
PIDs

Annotation used in conjunction with ComponentScoped in order to associate configurations with the component bean.

public @interface
PrototypeRequired

Used with @Reference, BindService, BindBeanServiceObjects and BindServiceReference to indicate that the service must be service.scope=prototype.

public @interface
Reference

Annotation used on injection points informing the CDI container that the injection should apply a service obtained from the OSGi registry.

public @interface
Reluctant

Annotation used to indicate that the behavior of the reference should be reluctant.

public @interface
RequireCDIExtender

This annotation can be used to require the CDI Component Runtime extender.

public @interface
RequireCDIImplementation

This annotation can be used to require the CDI Component Runtime implementation.

public @interface
Service

Annotation used to specify that a bean should be published as a service.

public @interface
ServiceInstance

Annotation used on beans, observer methods and observer fields to specify the service scope for the service.

public @interface
SingleComponent

Identifies a single component.