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.
Unless otherwise noted, all directives specified on the
Bundle-SymbolicName header are visible in the capability and all
directives specified on the Require-Bundle header are visible in the
requirement.
uses directive must be
ignored. A uses directive specified on the
Bundle-SymbolicName header must be ignored. A uses directive
must not be present in the capability.effective
directives must be ignored.
This namespace is only effective at resolve time. An effective directive specified on the
Bundle-SymbolicName or Require-Bundle headers must be
ignored. An effective directive must not be present in a capability
or requirement.cardinality
directive must be ignored. A cardinality directive specified on the
Require-Bundle header must be ignored. A cardinality
directive must not be present in a requirement.
A non-fragment resource with the osgi. type identity provides exactly one† bundle capability (that is,
the bundle can be required by another bundle). A fragment resource with the
osgi. type
identity must not declare
a bundle capability. A resource requires zero or more bundle requirements
(that is, required bundles).
† A resource with no symbolic name must not provide a bundle capability.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | BUNDLE_NAMESPACE
Namespace name for bundle capabilities and requirements. |
| public static final String | CAPABILITY_FRAGMENT_ATTACHMENT_DIRECTIVE
The capability directive identifying if and when a fragment may attach to a host bundle. |
| public static final String | CAPABILITY_SINGLETON_DIRECTIVE
The capability directive identifying if the resource is a singleton. |
| public static final String | REQUIREMENT_EXTENSION_DIRECTIVE
The requirement directive used to specify the type of the extension fragment. |
| public static final String | REQUIREMENT_VISIBILITY_DIRECTIVE
The requirement directive used to specify the visibility type for a requirement. |
| public static final String | VISIBILITY_PRIVATE
The directive value identifying a private
|
| public static final String | VISIBILITY_REEXPORT
The directive value identifying a reexport
|
| Access | Constructor and Description |
|---|---|
| private |
| BUNDLE_NAMESPACE | back to summary |
|---|---|
| public static final String BUNDLE_NAMESPACE Namespace name for bundle capabilities and requirements. Also, the capability attribute used to specify the symbolic name of the bundle. | |
| CAPABILITY_FRAGMENT_ATTACHMENT_DIRECTIVE | back to summary |
|---|---|
| public static final String CAPABILITY_FRAGMENT_ATTACHMENT_DIRECTIVE The capability directive identifying if and when a fragment may attach to a host bundle.
This directive should be examined using the | |
| CAPABILITY_SINGLETON_DIRECTIVE | back to summary |
|---|---|
| public static final String CAPABILITY_SINGLETON_DIRECTIVE The capability directive identifying if the resource is a singleton. A
This directive should be examined using the | |
| REQUIREMENT_EXTENSION_DIRECTIVE | back to summary |
|---|---|
| public static final String REQUIREMENT_EXTENSION_DIRECTIVE The requirement directive used to specify the type of the extension fragment.
This directive should be examined using the | |
| REQUIREMENT_VISIBILITY_DIRECTIVE | back to summary |
|---|---|
| public static final String REQUIREMENT_VISIBILITY_DIRECTIVE The requirement directive used to specify the visibility type for a
requirement. The default value is | |
| VISIBILITY_PRIVATE | back to summary |
|---|---|
| public static final String VISIBILITY_PRIVATE The directive value identifying a private
| |
| VISIBILITY_REEXPORT | back to summary |
|---|---|
| public static final String VISIBILITY_REEXPORT The directive value identifying a reexport
| |
| BundleNamespace | back to summary |
|---|---|
| private BundleNamespace() | |