Top Description Fields Constructors
org.osgi.namespace.service

public final Class ServiceNamespace

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

Service Capability and Requirement Namespace.

This class defines the names for the attributes and directives for this namespace.

All unspecified capability attributes are of one of the following types:

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.
Author
$Id: b8a17850ffda896054607169eafabed4d14240f8 $

Field Summary

Modifier and TypeField and Description
public static final String
CAPABILITY_OBJECTCLASS_ATTRIBUTE

The capability attribute used to specify the types of the service.

public static final String
SERVICE_NAMESPACE

Namespace name for service capabilities and requirements.

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_OBJECTCLASS_ATTRIBUTEback to summary
public static final String CAPABILITY_OBJECTCLASS_ATTRIBUTE

The capability attribute used to specify the types of the service. The value of this attribute must be of type List<String>.

A ServiceNamespace capability should express a uses constraint for all the packages mentioned in the value of this attribute.

SERVICE_NAMESPACEback to summary
public static final String SERVICE_NAMESPACE

Namespace name for service capabilities and requirements.

Constructor Detail

ServiceNamespaceback to summary
private ServiceNamespace()