Package org.osgi.namespace.service
Class ServiceNamespace
java.lang.Object
org.osgi.resource.Namespace
org.osgi.namespace.service.ServiceNamespace
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:
StringVersionLongDoubleList<String>List<Version>List<Long>List<Double>
String, unless otherwise indicated.- "Immutable"
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe capability attribute used to specify the types of the service.static final StringNamespace name for service capabilities and requirements.Fields inherited from class org.osgi.resource.Namespace
CAPABILITY_DEPRECATED_DIRECTIVE, CAPABILITY_EFFECTIVE_DIRECTIVE, CAPABILITY_USES_DIRECTIVE, CARDINALITY_MULTIPLE, CARDINALITY_SINGLE, EFFECTIVE_ACTIVE, EFFECTIVE_RESOLVE, REQUIREMENT_CARDINALITY_DIRECTIVE, REQUIREMENT_EFFECTIVE_DIRECTIVE, REQUIREMENT_FILTER_DIRECTIVE, REQUIREMENT_RESOLUTION_DIRECTIVE, RESOLUTION_MANDATORY, RESOLUTION_OPTIONAL -
Method Summary
-
Field Details
-
SERVICE_NAMESPACE
Namespace name for service capabilities and requirements.- See Also:
-
CAPABILITY_OBJECTCLASS_ATTRIBUTE
The capability attribute used to specify the types of the service. The value of this attribute must be of typeList<String>.A
ServiceNamespacecapability should express auses constraintfor all the packages mentioned in the value of this attribute.- See Also:
-