Class IdentityNamespace


  • public final class IdentityNamespace
    extends Namespace
    Identity 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.

    Each resource provides exactly one identity capability that can be used to identify the resource.

    The bundle wiring for the bundle revision provides exactly one identity capability.

    † A resource with no symbolic name must not provide an identity capability.

    • Field Detail

      • IDENTITY_NAMESPACE

        public static final java.lang.String IDENTITY_NAMESPACE
        Namespace name for identity capabilities and requirements.

        Also, the capability attribute used to specify the symbolic name of the resource.

        See Also:
        Constant Field Values
      • CAPABILITY_SINGLETON_DIRECTIVE

        public static final java.lang.String CAPABILITY_SINGLETON_DIRECTIVE
        The capability directive identifying if the resource is a singleton. A String value of "true" indicates the resource is a singleton; any other value or null indicates the resource is not a singleton.
        See Also:
        Constant Field Values
      • CAPABILITY_VERSION_ATTRIBUTE

        public static final java.lang.String CAPABILITY_VERSION_ATTRIBUTE
        The capability attribute identifying the Version of the resource if one is specified or 0.0.0 if not specified. The value of this attribute must be of type Version.
        See Also:
        Constant Field Values
      • CAPABILITY_TAGS_ATTRIBUTE

        public static final java.lang.String CAPABILITY_TAGS_ATTRIBUTE
        The attribute value that contains tags for the resource. A tag is used to identify an aspect of the resource that is not otherwise expressed by the capabilities of the resource. The value of this attribute must be of type List<String>.
        Since:
        1.2
        See Also:
        Constant Field Values
      • CAPABILITY_COPYRIGHT_ATTRIBUTE

        public static final java.lang.String CAPABILITY_COPYRIGHT_ATTRIBUTE
        The capability attribute that contains a human readable copyright notice for the resource. See the Bundle-Copyright manifest header.
        See Also:
        Constant Field Values
      • CAPABILITY_DESCRIPTION_ATTRIBUTE

        public static final java.lang.String CAPABILITY_DESCRIPTION_ATTRIBUTE
        The capability attribute that contains a human readable description for the resource. See the Bundle-Description manifest header.
        See Also:
        Constant Field Values
      • CAPABILITY_DOCUMENTATION_ATTRIBUTE

        public static final java.lang.String CAPABILITY_DOCUMENTATION_ATTRIBUTE
        The capability attribute that contains the URL to documentation for the resource. See the Bundle-DocURL manifest header.
        See Also:
        Constant Field Values
      • CAPABILITY_LICENSE_ATTRIBUTE

        public static final java.lang.String CAPABILITY_LICENSE_ATTRIBUTE
        The capability attribute that contains the URL to the license for the resource. See the name portion of the Bundle-License manifest header.
        See Also:
        Constant Field Values