Top Description Annotations Enums
module org.osgi.service.component.annotations

Package org.osgi.service.component.annotations

Annotations
@Version:1.5.1
Static Imports
org.osgi.service.component.ComponentConstants.COMPONENT_SPECIFICATION_VERSION

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.

Author
$Id: cf90c20cd157fede9aeab1e65d903454e055140d $

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
Activate

Identify the annotated member as part of the activation of a Service Component.

public @interface
Component

Identify the annotated class as a Service Component.

public @interface
ComponentPropertyType

Identify the annotated annotation as a Component Property Type.

public @interface
Deactivate

Identify the annotated method as the deactivate method of a Service Component.

public @interface
Modified

Identify the annotated method as the modified method of a Service Component.

public @interface
Reference

Identify the annotated member or parameter as a reference of a Service Component.

public @interface
RequireServiceComponentRuntime

This annotation can be used to require the Service Component Runtime to process Declarative Services components.

Enum Summary

Modifier and TypeEnum and Description
public enum
CollectionType

Collection types for the Reference annotation.

public enum
ConfigurationPolicy

Configuration Policy for the Component annotation.

public enum
FieldOption

Field options for the Reference annotation.

public enum
ReferenceCardinality

Cardinality for the Reference annotation.

public enum
ReferencePolicy

Policy for the Reference annotation.

public enum
ReferencePolicyOption

Policy option for the Reference annotation.

public enum
ReferenceScope

Reference scope for the Reference annotation.

public enum
ServiceScope

Service scope for the Component annotation.