Package org.osgi.service.component.annotations
@Version("1.5.1")
package org.osgi.service.component.annotations
Service Component Annotations Package Version 1.5.
This package is not used at runtime. Annotated classes are processed by tools to generate Component Descriptions which are used at runtime.
-
ClassDescriptionIdentify the annotated member as part of the activation of a Service Component.Collection types for the
Referenceannotation.Identify the annotated class as a Service Component.Identify the annotated annotation as a Component Property Type.Configuration Policy for theComponentannotation.Identify the annotated method as thedeactivatemethod of a Service Component.Field options for theReferenceannotation.Identify the annotated method as themodifiedmethod of a Service Component.Identify the annotated member or parameter as a reference of a Service Component.Cardinality for theReferenceannotation.Policy for theReferenceannotation.Policy option for theReferenceannotation.Reference scope for theReferenceannotation.This annotation can be used to require the Service Component Runtime to process Declarative Services components.Service scope for theComponentannotation.