Top Description Methods
org.osgi.annotation.bundle

public @Interface Header

extends Annotation
Annotations
@Documented
@Retention:CLASS
@Target:TYPE, PACKAGE
@Repeatable:Headers
Imports
java.lang.annotation.Documented, .ElementType, .Repeatable, .Retention, .RetentionPolicy, .Target

Define a manifest header for a bundle.

For example:

@Header(name=Constants.BUNDLE_CATEGORY, value="osgi")

This annotation is not retained at runtime. It is for use by tools to generate bundle manifests.

Author
$Id: 2dde5d7c3ed43968e3354a0b12fc0653eed71efc $

Method Summary

Modifier and TypeMethod and Description
public String
name()

The name of this header.

public String
value()

The value of this header.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

nameback to summary
public String name()

The name of this header.

valueback to summary
public String value()

The value of this header.