Top Description Fields Constructors
org.osgi.framework.namespace

public final Class IdentityNamespace

extends Namespace
Class Inheritance
Imports
org.osgi.resource.Namespace

Identity Capability and Requirement Namespace.

This class defines the names for the attributes and directives for this namespace. All unspecified capability attributes are of type String and are used as arbitrary matching attributes for the capability. The values associated with the specified directive and attribute keys are of type String, unless otherwise indicated.

Each resource provides exactly one† identity capability that can be used to identify the resource.

The bundle wiring for the bundle revision provides exactly one† identity capability.

† A resource with no symbolic name must not provide an identity capability.

Author
$Id: 7bc7a11c45b30538ffbb7572c4539f6160557684 $

Field Summary

Modifier and TypeField and Description
public static final String
CAPABILITY_DESCRIPTION_ATTRIBUTE

The capability attribute that contains a human readable description for the resource.

public static final String
CAPABILITY_DOCUMENTATION_ATTRIBUTE

The capability attribute that contains the URL to documentation for the resource.

public static final String
CAPABILITY_LICENSE_ATTRIBUTE

The capability attribute that contains the URL to the license for the resource.

public static final String
CAPABILITY_SINGLETON_DIRECTIVE

The capability directive identifying if the resource is a singleton.

public static final String
CAPABILITY_TYPE_ATTRIBUTE

The capability attribute identifying the resource type.

public static final String
CAPABILITY_VERSION_ATTRIBUTE

The capability attribute identifying the Version of the resource if one is specified or 0.0.0 if not specified.

public static final String
CLASSIFIER_JAVADOC

The attribute value identifying the resource classifier as an archive containing the javadoc in the same directory layout as the resource.

public static final String
CLASSIFIER_SOURCES

The attribute value identifying the resource classifier as an archive containing the source code in the same directory layout as the resource.

public static final String
IDENTITY_NAMESPACE

Namespace name for identity capabilities and requirements.

public static final String
REQUIREMENT_CLASSIFIER_DIRECTIVE

The requirement directive that classifies the relationship with another resource.

public static final String
TYPE_BUNDLE

The attribute value identifying the resource type as an OSGi bundle.

public static final String
TYPE_FRAGMENT

The attribute value identifying the resource type as an OSGi fragment.

public static final String
TYPE_UNKNOWN

The attribute value identifying the resource type as unknown.

Inherited from org.osgi.resource.Namespace:
CAPABILITY_EFFECTIVE_DIRECTIVECAPABILITY_USES_DIRECTIVECARDINALITY_MULTIPLECARDINALITY_SINGLEEFFECTIVE_ACTIVEEFFECTIVE_RESOLVEREQUIREMENT_CARDINALITY_DIRECTIVEREQUIREMENT_EFFECTIVE_DIRECTIVEREQUIREMENT_FILTER_DIRECTIVEREQUIREMENT_RESOLUTION_DIRECTIVERESOLUTION_MANDATORYRESOLUTION_OPTIONAL

Constructor Summary

AccessConstructor and Description
private

Field Detail

CAPABILITY_DESCRIPTION_ATTRIBUTEback to summary
public static final String CAPABILITY_DESCRIPTION_ATTRIBUTE

The capability attribute that contains a human readable description for the resource. See the Bundle-Description manifest header.

CAPABILITY_DOCUMENTATION_ATTRIBUTEback to summary
public static final String CAPABILITY_DOCUMENTATION_ATTRIBUTE

The capability attribute that contains the URL to documentation for the resource. See the Bundle-DocURL manifest header.

CAPABILITY_LICENSE_ATTRIBUTEback to summary
public static final String CAPABILITY_LICENSE_ATTRIBUTE

The capability attribute that contains the URL to the license for the resource. See the name portion of the Bundle-License manifest header.

CAPABILITY_SINGLETON_DIRECTIVEback to summary
public static final String CAPABILITY_SINGLETON_DIRECTIVE

The capability directive identifying if the resource is a singleton. A String value of "true" indicates the resource is a singleton; any other value or null indicates the resource is not a singleton.

CAPABILITY_TYPE_ATTRIBUTEback to summary
public static final String CAPABILITY_TYPE_ATTRIBUTE

The capability attribute identifying the resource type. If the resource has no type then the value unknown must be used for the attribute.

See Also
TYPE_BUNDLE, TYPE_FRAGMENT, TYPE_UNKNOWN
CAPABILITY_VERSION_ATTRIBUTEback to summary
public static final String CAPABILITY_VERSION_ATTRIBUTE

The capability attribute identifying the Version of the resource if one is specified or 0.0.0 if not specified. The value of this attribute must be of type Version.

CLASSIFIER_JAVADOCback to summary
public static final String CLASSIFIER_JAVADOC

The attribute value identifying the resource classifier as an archive containing the javadoc in the same directory layout as the resource.

See Also
REQUIREMENT_CLASSIFIER_DIRECTIVE
CLASSIFIER_SOURCESback to summary
public static final String CLASSIFIER_SOURCES

The attribute value identifying the resource classifier as an archive containing the source code in the same directory layout as the resource.

See Also
REQUIREMENT_CLASSIFIER_DIRECTIVE
IDENTITY_NAMESPACEback to summary
public static final String IDENTITY_NAMESPACE

Namespace name for identity capabilities and requirements.

Also, the capability attribute used to specify the symbolic name of the resource.

REQUIREMENT_CLASSIFIER_DIRECTIVEback to summary
public static final String REQUIREMENT_CLASSIFIER_DIRECTIVE

The requirement directive that classifies the relationship with another resource.

See Also
CLASSIFIER_SOURCES, CLASSIFIER_JAVADOC
TYPE_BUNDLEback to summary
public static final String TYPE_BUNDLE

The attribute value identifying the resource type as an OSGi bundle.

See Also
CAPABILITY_TYPE_ATTRIBUTE
TYPE_FRAGMENTback to summary
public static final String TYPE_FRAGMENT

The attribute value identifying the resource type as an OSGi fragment.

See Also
CAPABILITY_TYPE_ATTRIBUTE
TYPE_UNKNOWNback to summary
public static final String TYPE_UNKNOWN

The attribute value identifying the resource type as unknown.

See Also
CAPABILITY_TYPE_ATTRIBUTE

Constructor Detail

IdentityNamespaceback to summary
private IdentityNamespace()