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 Fragment-Host 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 Fragment-Host headers must be ignored.
An effective directive must not be present in a capability or
requirement.cardinality
directive has limited applicability to this namespace. A cardinality
directive specified on the Fragment-Host header must be ignored. All
requirements must have the cardinality directive set to
multiple.
A non-fragment resource with the with the
osgi. type
identity provides zero or
one† host capabilities. A fragment resource with the
osgi. type
identity must not declare
a host capability and must declare exactly one host requirement.
† A resource with no bundle symbolic name must not provide a host capability.
| Modifier and Type | Field and Description |
|---|---|
| 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 | EXTENSION_BOOTCLASSPATH
The directive value indicating that the extension fragment is to be loaded by the boot class loader. |
| public static final String | EXTENSION_FRAMEWORK
The directive value indicating that the extension fragment is to be loaded by the framework's class loader. |
| public static final String | FRAGMENT_ATTACHMENT_ALWAYS
The directive value indicating that fragments are allowed to attach to the host bundle at any time (while the host is resolved or during the process of resolving the host bundle). |
| public static final String | FRAGMENT_ATTACHMENT_NEVER
The directive value indicating that no fragments are allowed to attach to the host bundle at any time. |
| public static final String | FRAGMENT_ATTACHMENT_RESOLVETIME
The directive value indicating that fragments are allowed to attach to the host bundle only during the process of resolving the host bundle. |
| public static final String | HOST_NAMESPACE
Namespace name for host capabilities and requirements. |
| 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. |
| Access | Constructor and Description |
|---|---|
| private |
| 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. The default value is | |
| 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 | |
| EXTENSION_BOOTCLASSPATH | back to summary |
|---|---|
| public static final String EXTENSION_BOOTCLASSPATH The directive value indicating that the extension fragment is to be loaded by the boot class loader.
| |
| EXTENSION_FRAMEWORK | back to summary |
|---|---|
| public static final String EXTENSION_FRAMEWORK The directive value indicating that the extension fragment is to be loaded by the framework's class loader.
| |
| FRAGMENT_ATTACHMENT_ALWAYS | back to summary |
|---|---|
| public static final String FRAGMENT_ATTACHMENT_ALWAYS The directive value indicating that fragments are allowed to attach to the host bundle at any time (while the host is resolved or during the process of resolving the host bundle). | |
| FRAGMENT_ATTACHMENT_NEVER | back to summary |
|---|---|
| public static final String FRAGMENT_ATTACHMENT_NEVER The directive value indicating that no fragments are allowed to attach to the host bundle at any time. | |
| FRAGMENT_ATTACHMENT_RESOLVETIME | back to summary |
|---|---|
| public static final String FRAGMENT_ATTACHMENT_RESOLVETIME The directive value indicating that fragments are allowed to attach to the host bundle only during the process of resolving the host bundle. | |
| HOST_NAMESPACE | back to summary |
|---|---|
| public static final String HOST_NAMESPACE Namespace name for host capabilities and requirements. Also, the capability attribute used to specify the symbolic name of the host. | |
| 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. The default value is
| |
| 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.
This directive should be examined using the | |
| HostNamespace | back to summary |
|---|---|
| private HostNamespace() | |