public final class ServiceNamespace extends 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:
String
Version
Long
Double
List<String>
List<Version>
List<Long>
List<Double>
String
, unless otherwise indicated.Modifier and Type | Field and Description |
---|---|
static String |
CAPABILITY_OBJECTCLASS_ATTRIBUTE
The capability attribute used to specify the types of the service.
|
static String |
SERVICE_NAMESPACE
Namespace name for service capabilities and requirements.
|
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
public static final String SERVICE_NAMESPACE
public static final String CAPABILITY_OBJECTCLASS_ATTRIBUTE
List<String>
.
A ServiceNamespace
capability should express a
uses constraint
for all the
packages mentioned in the value of this attribute.
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0