public interface Constants
The values associated with these keys are of type
String
, unless otherwise indicated.
Modifier and Type | Field and Description |
---|---|
static String |
ACTIVATION_LAZY
Bundle activation policy declaring the bundle must be activated when the
first class load is made from the bundle.
|
static String |
BUNDLE_ACTIVATIONPOLICY
Manifest header identifying the bundle's activation policy.
|
static String |
BUNDLE_ACTIVATOR
Manifest header attribute identifying the bundle's activator class.
|
static String |
BUNDLE_CATEGORY
Manifest header identifying the bundle's category.
|
static String |
BUNDLE_CLASSPATH
Manifest header identifying a list of directories and embedded JAR files,
which are bundle resources used to extend the bundle's classpath.
|
static String |
BUNDLE_CONTACTADDRESS
Manifest header identifying the contact address where problems with the
bundle may be reported; for example, an email address.
|
static String |
BUNDLE_COPYRIGHT
Manifest header identifying the bundle's copyright information.
|
static String |
BUNDLE_DESCRIPTION
Manifest header containing a brief description of the bundle's
functionality.
|
static String |
BUNDLE_DOCURL
Manifest header identifying the bundle's documentation URL, from which
further information about the bundle may be obtained.
|
static String |
BUNDLE_LOCALIZATION
Manifest header identifying the base name of the bundle's localization
entries.
|
static String |
BUNDLE_LOCALIZATION_DEFAULT_BASENAME
Default value for the
Bundle-Localization manifest header. |
static String |
BUNDLE_MANIFESTVERSION
Manifest header identifying the bundle manifest version.
|
static String |
BUNDLE_NAME
Manifest header identifying the bundle's name.
|
static String |
BUNDLE_NATIVECODE
Manifest header identifying a number of hardware environments and the
native language code libraries that the bundle is carrying for each of
these environments.
|
static String |
BUNDLE_NATIVECODE_LANGUAGE
Manifest header attribute identifying the language in which the native
bundle code is written specified in the Bundle-NativeCode manifest
header.
|
static String |
BUNDLE_NATIVECODE_OSNAME
Manifest header attribute identifying the operating system required to
run native bundle code specified in the Bundle-NativeCode manifest
header).
|
static String |
BUNDLE_NATIVECODE_OSVERSION
Manifest header attribute identifying the operating system version
required to run native bundle code specified in the Bundle-NativeCode
manifest header).
|
static String |
BUNDLE_NATIVECODE_PROCESSOR
Manifest header attribute identifying the processor required to run
native bundle code specified in the Bundle-NativeCode manifest header).
|
static String |
BUNDLE_REQUIREDEXECUTIONENVIRONMENT
Manifest header identifying the required execution environment for the
bundle.
|
static String |
BUNDLE_SYMBOLICNAME
Manifest header identifying the bundle's symbolic name.
|
static String |
BUNDLE_SYMBOLICNAME_ATTRIBUTE
Manifest header attribute identifying the symbolic name of a bundle that
exports a package specified in the Import-Package manifest header.
|
static String |
BUNDLE_UPDATELOCATION
Manifest header identifying the location from which a new bundle version
is obtained during a bundle update operation.
|
static String |
BUNDLE_VENDOR
Manifest header identifying the bundle's vendor.
|
static String |
BUNDLE_VERSION
Manifest header identifying the bundle's version.
|
static String |
BUNDLE_VERSION_ATTRIBUTE
Manifest header attribute identifying a range of versions for a bundle
specified in the
Require-Bundle or
Fragment-Host manifest headers. |
static String |
DYNAMICIMPORT_PACKAGE
Manifest header identifying the packages that the bundle may dynamically
import during execution.
|
static String |
EXCLUDE_DIRECTIVE
Manifest header directive identifying a list of classes to exclude in the
exported package..
|
static String |
EXPORT_PACKAGE
Manifest header identifying the packages that the bundle offers to the
Framework for export.
|
static String |
EXPORT_SERVICE
Deprecated.
As of 1.2.
|
static String |
EXTENSION_BOOTCLASSPATH
Manifest header directive value identifying the type of extension
fragment.
|
static String |
EXTENSION_DIRECTIVE
Manifest header directive identifying the type of the extension fragment.
|
static String |
EXTENSION_FRAMEWORK
Manifest header directive value identifying the type of extension
fragment.
|
static String |
FRAGMENT_ATTACHMENT_ALWAYS
Manifest header directive value identifying a fragment attachment type of
always.
|
static String |
FRAGMENT_ATTACHMENT_DIRECTIVE
Manifest header directive identifying if and when a fragment may attach
to a host bundle.
|
static String |
FRAGMENT_ATTACHMENT_NEVER
Manifest header directive value identifying a fragment attachment type of
never.
|
static String |
FRAGMENT_ATTACHMENT_RESOLVETIME
Manifest header directive value identifying a fragment attachment type of
resolve-time.
|
static String |
FRAGMENT_HOST
Manifest header identifying the symbolic name of another bundle for which
that the bundle is a fragment.
|
static String |
FRAMEWORK_BEGINNING_STARTLEVEL
Specifies the beginning start level of the framework.
|
static String |
FRAMEWORK_BOOTDELEGATION
Framework environment property identifying packages for which the
Framework must delegate class loading to the parent class loader of the
bundle.
|
static String |
FRAMEWORK_BUNDLE_PARENT
Specifies the parent class loader type for all bundle class loaders.
|
static String |
FRAMEWORK_BUNDLE_PARENT_APP
Specifies to use the application class loader as the parent class loader
for all bundle class loaders.
|
static String |
FRAMEWORK_BUNDLE_PARENT_BOOT
Specifies to use of the boot class loader as the parent class loader for
all bundle class loaders.
|
static String |
FRAMEWORK_BUNDLE_PARENT_EXT
Specifies to use the extension class loader as the parent class loader
for all bundle class loaders.
|
static String |
FRAMEWORK_BUNDLE_PARENT_FRAMEWORK
Specifies to use the framework class loader as the parent class loader
for all bundle class loaders.
|
static String |
FRAMEWORK_EXECPERMISSION
Specifies an optional OS specific command to set file permissions on
extracted native code.
|
static String |
FRAMEWORK_EXECUTIONENVIRONMENT
Framework environment property identifying execution environments
provided by the Framework.
|
static String |
FRAMEWORK_LANGUAGE
Framework environment property identifying the Framework implementation
language (see ISO 639 for possible values).
|
static String |
FRAMEWORK_LIBRARY_EXTENSIONS
Specifies a comma separated list of additional library file extensions
that must be used when a bundle's class loader is searching for native
libraries.
|
static String |
FRAMEWORK_OS_NAME
Framework environment property identifying the Framework host-computer's
operating system.
|
static String |
FRAMEWORK_OS_VERSION
Framework environment property identifying the Framework host-computer's
operating system version number.
|
static String |
FRAMEWORK_PROCESSOR
Framework environment property identifying the Framework host-computer's
processor name.
|
static String |
FRAMEWORK_SECURITY
Specifies the type of security manager the framework must use.
|
static String |
FRAMEWORK_SECURITY_OSGI
Specifies that a security manager that supports all security aspects of
the OSGi core specification including postponed conditions must be
installed.
|
static String |
FRAMEWORK_STORAGE
Specified the persistent storage area used by the framework.
|
static String |
FRAMEWORK_STORAGE_CLEAN
Specifies if and when the persistent storage area for the framework
should be cleaned.
|
static String |
FRAMEWORK_STORAGE_CLEAN_ONFIRSTINIT
Specifies that the framework storage area must be cleaned before the
framework is initialized for the first time.
|
static String |
FRAMEWORK_SYSTEMPACKAGES
Framework environment property identifying packages which the system
bundle must export.
|
static String |
FRAMEWORK_SYSTEMPACKAGES_EXTRA
Framework environment property identifying extra packages which the
system bundle must export from the current execution environment.
|
static String |
FRAMEWORK_TRUST_REPOSITORIES
Specifies the trust repositories used by the framework.
|
static String |
FRAMEWORK_VENDOR
Framework environment property identifying the Framework implementation
vendor.
|
static String |
FRAMEWORK_VERSION
Framework environment property identifying the Framework version.
|
static String |
FRAMEWORK_WINDOWSYSTEM
Specifies the current windowing system.
|
static String |
IMPORT_PACKAGE
Manifest header identifying the packages on which the bundle depends.
|
static String |
IMPORT_SERVICE
Deprecated.
As of 1.2.
|
static String |
INCLUDE_DIRECTIVE
Manifest header directive identifying a list of classes to include in the
exported package.
|
static String |
MANDATORY_DIRECTIVE
Manifest header directive identifying names of matching attributes which
must be specified by matching Import-Package statements in the
Export-Package manifest header.
|
static String |
OBJECTCLASS
Service property identifying all of the class names under which a service
was registered in the Framework.
|
static String |
PACKAGE_SPECIFICATION_VERSION
Deprecated.
As of 1.3. This has been replaced by
VERSION_ATTRIBUTE . |
static String |
REQUIRE_BUNDLE
Manifest header identifying the symbolic names of other bundles required
by the bundle.
|
static String |
RESOLUTION_DIRECTIVE
Manifest header directive identifying the resolution type in the
Import-Package or Require-Bundle manifest header.
|
static String |
RESOLUTION_MANDATORY
Manifest header directive value identifying a mandatory resolution type.
|
static String |
RESOLUTION_OPTIONAL
Manifest header directive value identifying an optional resolution type.
|
static String |
SELECTION_FILTER_ATTRIBUTE
Manifest header attribute is used for selection by filtering based upon
system properties.
|
static String |
SERVICE_DESCRIPTION
Service property identifying a service's description.
|
static String |
SERVICE_ID
Service property identifying a service's registration number.
|
static String |
SERVICE_PID
Service property identifying a service's persistent identifier.
|
static String |
SERVICE_RANKING
Service property identifying a service's ranking number.
|
static String |
SERVICE_VENDOR
Service property identifying a service's vendor.
|
static String |
SINGLETON_DIRECTIVE
Manifest header directive identifying whether a bundle is a singleton.
|
static String |
SUPPORTS_BOOTCLASSPATH_EXTENSION
Framework environment property identifying whether the Framework supports
bootclasspath extension bundles.
|
static String |
SUPPORTS_FRAMEWORK_EXTENSION
Framework environment property identifying whether the Framework supports
framework extension bundles.
|
static String |
SUPPORTS_FRAMEWORK_FRAGMENT
Framework environment property identifying whether the Framework supports
fragment bundles.
|
static String |
SUPPORTS_FRAMEWORK_REQUIREBUNDLE
Framework environment property identifying whether the Framework supports
the
Require-Bundle manifest header. |
static String |
SYSTEM_BUNDLE_LOCATION
Location identifier of the OSGi system bundle , which is defined
to be "System Bundle".
|
static String |
SYSTEM_BUNDLE_SYMBOLICNAME
Alias for the symbolic name of the OSGi system bundle .
|
static String |
USES_DIRECTIVE
Manifest header directive identifying a list of packages that an exported
package uses.
|
static String |
VERSION_ATTRIBUTE
Manifest header attribute identifying the version of a package specified
in the Export-Package or Import-Package manifest header.
|
static String |
VISIBILITY_DIRECTIVE
Manifest header directive identifying the visibility of a required bundle
in the Require-Bundle manifest header.
|
static String |
VISIBILITY_PRIVATE
Manifest header directive value identifying a private visibility type.
|
static String |
VISIBILITY_REEXPORT
Manifest header directive value identifying a reexport visibility type.
|
static final String SYSTEM_BUNDLE_LOCATION
static final String SYSTEM_BUNDLE_SYMBOLICNAME
static final String BUNDLE_CATEGORY
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String BUNDLE_CLASSPATH
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String BUNDLE_COPYRIGHT
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String BUNDLE_DESCRIPTION
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String BUNDLE_NAME
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String BUNDLE_NATIVECODE
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String EXPORT_PACKAGE
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String EXPORT_SERVICE
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String IMPORT_PACKAGE
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String DYNAMICIMPORT_PACKAGE
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String IMPORT_SERVICE
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String BUNDLE_VENDOR
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String BUNDLE_VERSION
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String BUNDLE_DOCURL
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String BUNDLE_CONTACTADDRESS
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String BUNDLE_ACTIVATOR
If present, this header specifies the name of the bundle resource class
that implements the BundleActivator
interface and whose
start
and stop
methods are called by the
Framework when the bundle is started and stopped, respectively.
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String BUNDLE_UPDATELOCATION
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String PACKAGE_SPECIFICATION_VERSION
VERSION_ATTRIBUTE
.static final String BUNDLE_NATIVECODE_PROCESSOR
The attribute value is encoded in the Bundle-NativeCode manifest header like:
Bundle-NativeCode: http.so ; processor=x86 ...
BUNDLE_NATIVECODE
,
Constant Field Valuesstatic final String BUNDLE_NATIVECODE_OSNAME
The attribute value is encoded in the Bundle-NativeCode manifest header like:
Bundle-NativeCode: http.so ; osname=Linux ...
BUNDLE_NATIVECODE
,
Constant Field Valuesstatic final String BUNDLE_NATIVECODE_OSVERSION
The attribute value is encoded in the Bundle-NativeCode manifest header like:
Bundle-NativeCode: http.so ; osversion="2.34" ...
BUNDLE_NATIVECODE
,
Constant Field Valuesstatic final String BUNDLE_NATIVECODE_LANGUAGE
The attribute value is encoded in the Bundle-NativeCode manifest header like:
Bundle-NativeCode: http.so ; language=nl_be ...
BUNDLE_NATIVECODE
,
Constant Field Valuesstatic final String BUNDLE_REQUIREDEXECUTIONENVIRONMENT
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String BUNDLE_SYMBOLICNAME
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String SINGLETON_DIRECTIVE
false
.
The directive value is encoded in the Bundle-SymbolicName manifest header like:
Bundle-SymbolicName: com.acme.module.test; singleton:=true
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
BUNDLE_SYMBOLICNAME
,
Constant Field Valuesstatic final String FRAGMENT_ATTACHMENT_DIRECTIVE
always
.
The directive value is encoded in the Bundle-SymbolicName manifest header like:
Bundle-SymbolicName: com.acme.module.test; fragment-attachment:="never"
static final String FRAGMENT_ATTACHMENT_ALWAYS
The directive value is encoded in the Bundle-SymbolicName manifest header like:
Bundle-SymbolicName: com.acme.module.test; fragment-attachment:="always"
FRAGMENT_ATTACHMENT_DIRECTIVE
,
Constant Field Valuesstatic final String FRAGMENT_ATTACHMENT_RESOLVETIME
The directive value is encoded in the Bundle-SymbolicName manifest header like:
Bundle-SymbolicName: com.acme.module.test; fragment-attachment:="resolve-time"
FRAGMENT_ATTACHMENT_DIRECTIVE
,
Constant Field Valuesstatic final String FRAGMENT_ATTACHMENT_NEVER
The directive value is encoded in the Bundle-SymbolicName manifest header like:
Bundle-SymbolicName: com.acme.module.test; fragment-attachment:="never"
FRAGMENT_ATTACHMENT_DIRECTIVE
,
Constant Field Valuesstatic final String BUNDLE_LOCALIZATION
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
BUNDLE_LOCALIZATION_DEFAULT_BASENAME
,
Constant Field Valuesstatic final String BUNDLE_LOCALIZATION_DEFAULT_BASENAME
Bundle-Localization
manifest header.BUNDLE_LOCALIZATION
,
Constant Field Valuesstatic final String REQUIRE_BUNDLE
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String BUNDLE_VERSION_ATTRIBUTE
Require-Bundle
or
Fragment-Host
manifest headers. The default value is
0.0.0
.
The attribute value is encoded in the Require-Bundle manifest header like:
Require-Bundle: com.acme.module.test; bundle-version="1.1" Require-Bundle: com.acme.module.test; bundle-version="[1.0,2.0)"
The bundle-version attribute value uses a mathematical interval notation to specify a range of bundle versions. A bundle-version attribute value specified as a single version means a version range that includes any bundle version greater than or equal to the specified version.
REQUIRE_BUNDLE
,
Constant Field Valuesstatic final String FRAGMENT_HOST
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String SELECTION_FILTER_ATTRIBUTE
The attribute value is encoded in manifest headers like:
Bundle-NativeCode: libgtk.so; selection-filter="(ws=gtk)"; ...
BUNDLE_NATIVECODE
,
Constant Field Valuesstatic final String BUNDLE_MANIFESTVERSION
The bundle manifest version defined by OSGi Release 4 or, more specifically, by version 1.3 of the OSGi Core Specification is "2".
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
static final String VERSION_ATTRIBUTE
The attribute value is encoded in the Export-Package or Import-Package manifest header like:
Import-Package: org.osgi.framework; version="1.1"
EXPORT_PACKAGE
,
IMPORT_PACKAGE
,
Constant Field Valuesstatic final String BUNDLE_SYMBOLICNAME_ATTRIBUTE
The attribute value is encoded in the Import-Package manifest header like:
Import-Package: org.osgi.framework; bundle-symbolic-name="com.acme.module.test"
IMPORT_PACKAGE
,
Constant Field Valuesstatic final String RESOLUTION_DIRECTIVE
mandatory
.
The directive value is encoded in the Import-Package or Require-Bundle manifest header like:
Import-Package: org.osgi.framework; resolution:="optional" Require-Bundle: com.acme.module.test; resolution:="optional"
IMPORT_PACKAGE
,
REQUIRE_BUNDLE
,
RESOLUTION_MANDATORY
,
RESOLUTION_OPTIONAL
,
Constant Field Valuesstatic final String RESOLUTION_MANDATORY
The directive value is encoded in the Import-Package or Require-Bundle manifest header like:
Import-Package: org.osgi.framework; resolution:="manditory" Require-Bundle: com.acme.module.test; resolution:="manditory"
RESOLUTION_DIRECTIVE
,
Constant Field Valuesstatic final String RESOLUTION_OPTIONAL
The directive value is encoded in the Import-Package or Require-Bundle manifest header like:
Import-Package: org.osgi.framework; resolution:="optional" Require-Bundle: com.acme.module.test; resolution:="optional"
RESOLUTION_DIRECTIVE
,
Constant Field Valuesstatic final String USES_DIRECTIVE
The directive value is encoded in the Export-Package manifest header like:
Export-Package: org.osgi.util.tracker; uses:="org.osgi.framework"
EXPORT_PACKAGE
,
Constant Field Valuesstatic final String INCLUDE_DIRECTIVE
This directive is used by the Export-Package manifest header to identify a list of classes of the specified package which must be allowed to be exported. The directive value is encoded in the Export-Package manifest header like:
Export-Package: org.osgi.framework; include:="MyClass*"
This directive is also used by the Bundle-ActivationPolicy manifest header to identify the packages from which class loads will trigger lazy activation. The directive value is encoded in the Bundle-ActivationPolicy manifest header like:
Bundle-ActivationPolicy: lazy; include:="org.osgi.framework"
EXPORT_PACKAGE
,
BUNDLE_ACTIVATIONPOLICY
,
Constant Field Valuesstatic final String EXCLUDE_DIRECTIVE
This directive is used by the Export-Package manifest header to identify a list of classes of the specified package which must not be allowed to be exported. The directive value is encoded in the Export-Package manifest header like:
Export-Package: org.osgi.framework; exclude:="*Impl"
This directive is also used by the Bundle-ActivationPolicy manifest header to identify the packages from which class loads will not trigger lazy activation. The directive value is encoded in the Bundle-ActivationPolicy manifest header like:
Bundle-ActivationPolicy: lazy; exclude:="org.osgi.framework"
EXPORT_PACKAGE
,
BUNDLE_ACTIVATIONPOLICY
,
Constant Field Valuesstatic final String MANDATORY_DIRECTIVE
The directive value is encoded in the Export-Package manifest header like:
Export-Package: org.osgi.framework; mandatory:="bundle-symbolic-name"
EXPORT_PACKAGE
,
Constant Field Valuesstatic final String VISIBILITY_DIRECTIVE
private
.
The directive value is encoded in the Require-Bundle manifest header like:
Require-Bundle: com.acme.module.test; visibility:="reexport"
REQUIRE_BUNDLE
,
VISIBILITY_PRIVATE
,
VISIBILITY_REEXPORT
,
Constant Field Valuesstatic final String VISIBILITY_PRIVATE
The directive value is encoded in the Require-Bundle manifest header like:
Require-Bundle: com.acme.module.test; visibility:="private"
VISIBILITY_DIRECTIVE
,
Constant Field Valuesstatic final String VISIBILITY_REEXPORT
The directive value is encoded in the Require-Bundle manifest header like:
Require-Bundle: com.acme.module.test; visibility:="reexport"
VISIBILITY_DIRECTIVE
,
Constant Field Valuesstatic final String EXTENSION_DIRECTIVE
The directive value is encoded in the Fragment-Host manifest header like:
Fragment-Host: system.bundle; extension:="framework"
FRAGMENT_HOST
,
EXTENSION_FRAMEWORK
,
EXTENSION_BOOTCLASSPATH
,
Constant Field Valuesstatic final String EXTENSION_FRAMEWORK
The directive value is encoded in the Fragment-Host manifest header like:
Fragment-Host: system.bundle; extension:="framework"
EXTENSION_DIRECTIVE
,
Constant Field Valuesstatic final String EXTENSION_BOOTCLASSPATH
The directive value is encoded in the Fragment-Host manifest header like:
Fragment-Host: system.bundle; extension:="bootclasspath"
EXTENSION_DIRECTIVE
,
Constant Field Valuesstatic final String BUNDLE_ACTIVATIONPOLICY
The attribute value may be retrieved from the Dictionary
object returned by the Bundle.getHeaders
method.
ACTIVATION_LAZY
,
INCLUDE_DIRECTIVE
,
EXCLUDE_DIRECTIVE
,
Constant Field Valuesstatic final String ACTIVATION_LAZY
A bundle with the lazy activation policy that is started with the
START_ACTIVATION_POLICY
option
will wait in the STARTING
state until the first
class load from the bundle occurs. The bundle will then be activated
before the class is returned to the requester.
The activation policy value is specified as in the Bundle-ActivationPolicy manifest header like:
Bundle-ActivationPolicy: lazy
BUNDLE_ACTIVATIONPOLICY
,
Bundle.start(int)
,
Bundle.START_ACTIVATION_POLICY
,
Constant Field Valuesstatic final String FRAMEWORK_VERSION
The value of this property may be retrieved by calling the
BundleContext.getProperty
method.
static final String FRAMEWORK_VENDOR
The value of this property may be retrieved by calling the
BundleContext.getProperty
method.
static final String FRAMEWORK_LANGUAGE
The value of this property may be retrieved by calling the
BundleContext.getProperty
method.
static final String FRAMEWORK_OS_NAME
The value of this property may be retrieved by calling the
BundleContext.getProperty
method.
static final String FRAMEWORK_OS_VERSION
The value of this property may be retrieved by calling the
BundleContext.getProperty
method.
static final String FRAMEWORK_PROCESSOR
The value of this property may be retrieved by calling the
BundleContext.getProperty
method.
static final String FRAMEWORK_EXECUTIONENVIRONMENT
The value of this property may be retrieved by calling the
BundleContext.getProperty
method.
static final String FRAMEWORK_BOOTDELEGATION
The value of this property may be retrieved by calling the
BundleContext.getProperty
method.
FRAMEWORK_BUNDLE_PARENT
,
Constant Field Valuesstatic final String FRAMEWORK_SYSTEMPACKAGES
If this property is not specified then the framework must calculate a reasonable default value for the current execution environment.
The value of this property may be retrieved by calling the
BundleContext.getProperty
method.
static final String FRAMEWORK_SYSTEMPACKAGES_EXTRA
This property is useful for configuring extra system packages in addition to the system packages calculated by the framework.
The value of this property may be retrieved by calling the
BundleContext.getProperty
method.
FRAMEWORK_SYSTEMPACKAGES
,
Constant Field Valuesstatic final String SUPPORTS_FRAMEWORK_EXTENSION
As of version 1.4, the value of this property must be true
.
The Framework must support framework extension bundles.
The value of this property may be retrieved by calling the
BundleContext.getProperty
method.
static final String SUPPORTS_BOOTCLASSPATH_EXTENSION
If the value of this property is true
, then the Framework
supports bootclasspath extension bundles. The default value is
false
.
The value of this property may be retrieved by calling the
BundleContext.getProperty
method.
static final String SUPPORTS_FRAMEWORK_FRAGMENT
As of version 1.4, the value of this property must be true
.
The Framework must support fragment bundles.
The value of this property may be retrieved by calling the
BundleContext.getProperty
method.
static final String SUPPORTS_FRAMEWORK_REQUIREBUNDLE
Require-Bundle
manifest header.
As of version 1.4, the value of this property must be true
.
The Framework must support the Require-Bundle
manifest
header.
The value of this property may be retrieved by calling the
BundleContext.getProperty
method.
static final String FRAMEWORK_SECURITY
FRAMEWORK_SECURITY_OSGI
,
Constant Field Valuesstatic final String FRAMEWORK_SECURITY_OSGI
If this value is specified and there is a security manager already
installed, then a SecurityException
must be thrown when the
Framework is initialized.
FRAMEWORK_SECURITY
,
Constant Field Valuesstatic final String FRAMEWORK_STORAGE
If this property is not set, the framework should use a reasonable platform default for the persistent storage area.
static final String FRAMEWORK_STORAGE_CLEAN
FRAMEWORK_STORAGE_CLEAN_ONFIRSTINIT
,
Constant Field Valuesstatic final String FRAMEWORK_STORAGE_CLEAN_ONFIRSTINIT
static final String FRAMEWORK_LIBRARY_EXTENSIONS
System.mapLibraryName(String)
will be used to
search. This is needed for certain operating systems which allow more
than one extension for a library. For example, AIX allows library
extensions of .a
and .so
, but
System.mapLibraryName(String)
will only return names with
the .a
extension.static final String FRAMEWORK_EXECPERMISSION
chmod +rx ${abspath}The
${abspath}
is used by the framework to substitute the
actual absolute file path.static final String FRAMEWORK_TRUST_REPOSITORIES
java.io.File.pathSeparator
separated list of valid file
paths to files that contain key stores of type JKS
. The
framework will use the key stores as trust repositories to authenticate
certificates of trusted signers. The key stores are only used as
read-only trust repositories to access public keys. No passwords are
required to access the key stores' public keys.
Note that framework implementations are allowed to use other trust repositories in addition to the trust repositories specified by this property. How these other trust repositories are configured and populated is implementation specific.
static final String FRAMEWORK_WINDOWSYSTEM
static final String FRAMEWORK_BEGINNING_STARTLEVEL
static final String FRAMEWORK_BUNDLE_PARENT
boot
.static final String FRAMEWORK_BUNDLE_PARENT_BOOT
FRAMEWORK_BUNDLE_PARENT
,
Constant Field Valuesstatic final String FRAMEWORK_BUNDLE_PARENT_EXT
FRAMEWORK_BUNDLE_PARENT
,
Constant Field Valuesstatic final String FRAMEWORK_BUNDLE_PARENT_APP
FRAMEWORK_BUNDLE_PARENT_FRAMEWORK
.FRAMEWORK_BUNDLE_PARENT
,
Constant Field Valuesstatic final String FRAMEWORK_BUNDLE_PARENT_FRAMEWORK
FRAMEWORK_BUNDLE_PARENT_APP
.FRAMEWORK_BUNDLE_PARENT
,
Constant Field Valuesstatic final String OBJECTCLASS
String[]
.
This property is set by the Framework when a service is registered.
static final String SERVICE_ID
Long
.
The value of this property is assigned by the Framework when a service is registered. The Framework assigns a unique value that is larger than all previously assigned values since the Framework was started. These values are NOT persistent across restarts of the Framework.
static final String SERVICE_PID
This property may be supplied in the properties
Dictionary
object passed to the
BundleContext.registerService
method. The value of this
property must be of type String
, String[]
, or
Collection
of String
.
A service's persistent identifier uniquely identifies the service and persists across multiple Framework invocations.
By convention, every bundle has its own unique namespace, starting with
the bundle's identifier (see Bundle.getBundleId()
) and followed by
a dot (.). A bundle may use this as the prefix of the persistent
identifiers for the services it registers.
static final String SERVICE_RANKING
This property may be supplied in the properties
Dictionary
object passed to the
BundleContext.registerService
method. The value of this
property must be of type Integer
.
The service ranking is used by the Framework to determine the natural
order of services, see ServiceReference.compareTo(Object)
,
and the default service to be returned from a call to the
BundleContext.getServiceReference(java.lang.String)
method.
The default ranking is zero (0). A service with a ranking of
Integer.MAX_VALUE
is very likely to be returned as the
default service, whereas a service with a ranking of
Integer.MIN_VALUE
is very unlikely to be returned.
If the supplied property value is not of type Integer
, it is
deemed to have a ranking value of zero.
static final String SERVICE_VENDOR
This property may be supplied in the properties Dictionary
object passed to the BundleContext.registerService
method.
static final String SERVICE_DESCRIPTION
This property may be supplied in the properties Dictionary
object passed to the BundleContext.registerService
method.
Copyright © 2018 JBoss by Red Hat. All rights reserved.