Package org.osgi.service.cdi.annotations
@Version("1.0.1")
package org.osgi.service.cdi.annotations
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)"
-
ClassDescriptionAnnotation used to indicate that build tooling must be included the class in the
osgi.cdi
beans
list.Identify the annotated annotation as a Bean Property Type.Support inline instantiation of theBeanPropertyType
annotation.Annotation used to indicate that build tooling must be included the specified classes in theosgi.cdi
beans
list.Annotation used withInject
in order to have component properties injected.Support inline instantiation of theComponentProperties
annotation.This scope is used to declare a bean who's lifecycle is determined by the state of it's OSGi dependencies and theSingleComponent(s)
andFactoryComponent(s)
that may reference it through injection.Support inline instantiation of theComponentScoped
annotation.Identifies a factory component.Support inline instantiation of theFactoryComponent
annotation.Annotation used in conjunction withReference
to specify the minimum cardinality reference property.Support inline instantiation of theMinimumCardinality
annotation.Annotation used in collaboration withComponentScoped
to specify singleton configurations and their policy.Support inline instantiation of thePID
annotation.Annotation used in conjunction withComponentScoped
in order to associate configurations with the component bean.Support inline instantiation of thePIDs
annotation.Used with@Reference
,BindService
,BindBeanServiceObjects
andBindServiceReference
to indicate that the service must beservice.scope=prototype
.Support inline instantiation of thePrototypeRequired
annotation.Annotation used on injection points informing the CDI container that the injection should apply a service obtained from the OSGi registry.A marker type used inReference.value()
to indicate that a reference injection point may accept any service type(s).Support inline instantiation of theReference
annotation.Annotation used to indicate that the behavior of the reference should be reluctant.Support inline instantiation of theReluctant
annotation.This annotation can be used to require the CDI Component Runtime extender.This annotation can be used to require the CDI Component Runtime implementation.Annotation used to specify that a bean should be published as a service.Support inline instantiation of theService
annotation.Annotation used on beans, observer methods and observer fields to specify the service scope for the service.Support inline instantiation of theServiceInstance
annotation.Identifies a single component.Support inline instantiation of theSingleComponent
annotation.