Class ContractNamespace

java.lang.Object
org.osgi.resource.Namespace
org.osgi.namespace.contract.ContractNamespace

public final class ContractNamespace extends Namespace
Contract 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.

"Immutable"
  • Field Details

    • CONTRACT_NAMESPACE

      public static final String CONTRACT_NAMESPACE
      Namespace name for contract capabilities and requirements.

      Also, the capability attribute used to specify the name of the contract.

      See Also:
    • CAPABILITY_VERSION_ATTRIBUTE

      public static final String CAPABILITY_VERSION_ATTRIBUTE
      The capability attribute contains the Versions of the specification of the contract. The value of this attribute must be of type Version, Version[], or List<Version>.
      See Also: