public final class ContractNamespace extends 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.
Modifier and Type | Field and Description |
---|---|
static String |
CAPABILITY_VERSION_ATTRIBUTE
The capability attribute contains the
Version of the
specification of the contract. |
static String |
CONTRACT_NAMESPACE
Namespace name for contract 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 CONTRACT_NAMESPACE
Also, the capability attribute used to specify the name of the contract.
public static final String CAPABILITY_VERSION_ATTRIBUTE
Version
of the
specification of the contract. The value of this attribute must be of
type Version
.Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0