org.eclipse.osgi.framework.internal.core
Class Constants

java.lang.Object
  extended by org.eclipse.osgi.framework.internal.core.Constants
All Implemented Interfaces:
Constants

public class Constants
extends java.lang.Object
implements Constants

This interface contains the constants used by the eclipse OSGi implementation.


Field Summary
static java.lang.String BUDDY_LOADER
          The key used to designate the buddy loader associated with a given bundle.
static int BUNDLE_ACTIVATION_POLICY
           
static int BUNDLE_LAZY_START
          Lazy start flag bundle status
static int BUNDLE_STARTED
          Persistent start bundle status
static java.lang.String DEFAULT_OSGI_PROPERTIES
           
static java.lang.String DEFAULT_STARTLEVEL
          Properties defaults
static java.lang.String DEVELOPMENT_MODE
           
static java.lang.String ECLIPSE_AUTOSTART
          Deprecated. use ECLIPSE_LAZYSTART
static java.lang.String ECLIPSE_AUTOSTART_EXCEPTIONS
          Deprecated. use ECLIPSE_LAZYSTART_EXCEPTIONS
static java.lang.String ECLIPSE_EE_INSTALL_VERIFY
           
static java.lang.String Eclipse_JREBUNDLE
           
static java.lang.String ECLIPSE_LAZYSTART
          Manifest header used to specify the lazy start properties of a bundle
static java.lang.String ECLIPSE_LAZYSTART_EXCEPTIONS
          An Eclipse-LazyStart attribute used to specify exception classes for auto start
static java.lang.String ECLIPSE_PLATFORMFILTER
           
static java.lang.String ECLIPSE_SYSTEMBUNDLE
          Eclipse-SystemBundle header
static java.lang.String FRIENDS_DIRECTIVE
          Manifest Export-Package directive indicating that the exported package should only be made available to friends of the exporting bundle.
static java.lang.String INTERNAL_DIRECTIVE
          Manifest Export-Package directive indicating that the exported package should only be made available when the resolver is not in strict mode.
static java.lang.String INTERNAL_HANDLER_PKGS
           
static java.lang.String J2ME_MICROEDITION_CONFIGURATION
          J2ME configuration property name
static java.lang.String J2ME_MICROEDITION_PROFILES
          J2ME profile property name
static java.lang.String JVM_OS_ARCH
          JVM os.arch property name
static java.lang.String JVM_OS_NAME
          JVM os.name property name
static java.lang.String JVM_OS_VERSION
          JVM os.version property name
static java.lang.String JVM_USER_LANGUAGE
          JVM user.language property name
static java.lang.String JVM_USER_REGION
          JVM user.region property name
static java.lang.String JVM_VM_NAME
          JVM java.vm.name property name
static java.lang.String OPTIONAL_ATTRIBUTE
          Deprecated.  
static java.lang.String OSGI_BASE_IMPLIED_PERMISSIONS
          Base implied permissions for all bundles
static java.lang.String OSGI_BOOTDELEGATION
           
static java.lang.String OSGI_BOOTDELEGATION_IGNORE
          indicates that the org.osgi.framework.bootdelegation in the java profile should be ingored
static java.lang.String OSGI_BOOTDELEGATION_NONE
          indicates that the org.osgi.framework.bootdelegation in the java profile AND the system properties should be ignored
static java.lang.String OSGI_BOOTDELEGATION_OVERRIDE
          indicates that the org.osgi.framework.bootdelegation in the java profile should override the system property
static java.lang.String OSGI_BUNDLE_MANIFEST
          Bundle manifest name
static java.lang.String OSGI_COMPATIBILITY_BOOTDELEGATION
           
static java.lang.String OSGI_DEFAULT_DEFAULT_PERMISSIONS
          Default permissions for bundles with no permission set and there are no default permissions set.
static java.lang.String OSGI_ENTRY_URL_PROTOCOL
          Bundle entry URL protocol
static java.lang.String OSGI_FRAMEWORK_PACKAGE
          OSGi framework package name.
static java.lang.String OSGI_FRAMEWORK_SYSTEM_PACKAGES
          OSGI system package property
static java.lang.String OSGI_FRAMEWORK_VENDOR
          Framework vendor
static java.lang.String OSGI_FRAMEWORK_VERSION
          Default framework version
static java.lang.String OSGI_FRAMEWORKBEGINNINGSTARTLEVEL
           
static java.lang.String OSGI_IMPL_VERSION_KEY
          OSGI implementation version properties key
static java.lang.String OSGI_JAVA_PROFILE
          OSGi java profile; used to give a URL to a java profile
static java.lang.String OSGI_JAVA_PROFILE_BOOTDELEGATION
          OSGi java profile bootdelegation; used to indicate how the org.osgi.framework.bootdelegation property defined in the java profile should be processed, (ingnore, override, none). default is ignore
static java.lang.String OSGI_JAVA_PROFILE_NAME
           
static java.lang.String OSGI_LOGSERVICE_NAME
          Name of OSGi LogService
static java.lang.String OSGI_OSNAME_ALIASES
          OS name aliases resource
static java.lang.String OSGI_PACKAGEADMIN_NAME
          Name of OSGi PackageAdmin
static java.lang.String OSGI_PERMISSIONADMIN_NAME
          Name of OSGi PermissionAdmin
static java.lang.String OSGI_PROCESSOR_ALIASES
          Processor aliases resource
static java.lang.String OSGI_PROPERTIES
          Property file locations and default names.
static java.lang.String OSGI_RESOLVER_MODE
          OSGi strict delegation
static java.lang.String OSGI_RESOURCE_URL_PROTOCOL
          Bundle resource URL protocol
static java.lang.String OSGI_STARTLEVEL_NAME
          Name of OSGi StartLevel
static java.lang.String OSGI_SYSTEM_BUNDLE
           
static java.lang.String PLUGIN_CLASS
           
static java.lang.String PROVIDE_PACKAGE
          Deprecated.  
static java.lang.String REEXPORT_PACKAGE
          Deprecated.  
static java.lang.String REGISTERED_POLICY
           
static java.lang.String REPROVIDE_ATTRIBUTE
          Deprecated.  
static java.lang.String REQUIRE_PACKAGES_ATTRIBUTE
          Deprecated.  
static java.lang.String STRICT_MODE
           
 
Fields inherited from interface org.osgi.framework.Constants
ACTIVATION_LAZY, BUNDLE_ACTIVATIONPOLICY, BUNDLE_ACTIVATOR, BUNDLE_CATEGORY, BUNDLE_CLASSPATH, BUNDLE_CONTACTADDRESS, BUNDLE_COPYRIGHT, BUNDLE_DESCRIPTION, BUNDLE_DOCURL, BUNDLE_LOCALIZATION, BUNDLE_LOCALIZATION_DEFAULT_BASENAME, BUNDLE_MANIFESTVERSION, BUNDLE_NAME, BUNDLE_NATIVECODE, BUNDLE_NATIVECODE_LANGUAGE, BUNDLE_NATIVECODE_OSNAME, BUNDLE_NATIVECODE_OSVERSION, BUNDLE_NATIVECODE_PROCESSOR, BUNDLE_REQUIREDEXECUTIONENVIRONMENT, BUNDLE_SYMBOLICNAME, BUNDLE_SYMBOLICNAME_ATTRIBUTE, BUNDLE_UPDATELOCATION, BUNDLE_VENDOR, BUNDLE_VERSION, BUNDLE_VERSION_ATTRIBUTE, DYNAMICIMPORT_PACKAGE, EXCLUDE_DIRECTIVE, EXPORT_PACKAGE, EXPORT_SERVICE, EXTENSION_BOOTCLASSPATH, EXTENSION_DIRECTIVE, EXTENSION_FRAMEWORK, FRAGMENT_ATTACHMENT_ALWAYS, FRAGMENT_ATTACHMENT_DIRECTIVE, FRAGMENT_ATTACHMENT_NEVER, FRAGMENT_ATTACHMENT_RESOLVETIME, FRAGMENT_HOST, FRAMEWORK_BOOTDELEGATION, FRAMEWORK_EXECUTIONENVIRONMENT, FRAMEWORK_LANGUAGE, FRAMEWORK_OS_NAME, FRAMEWORK_OS_VERSION, FRAMEWORK_PROCESSOR, FRAMEWORK_SYSTEMPACKAGES, FRAMEWORK_VENDOR, FRAMEWORK_VERSION, IMPORT_PACKAGE, IMPORT_SERVICE, INCLUDE_DIRECTIVE, MANDATORY_DIRECTIVE, OBJECTCLASS, PACKAGE_SPECIFICATION_VERSION, REQUIRE_BUNDLE, RESOLUTION_DIRECTIVE, RESOLUTION_MANDATORY, RESOLUTION_OPTIONAL, SELECTION_FILTER_ATTRIBUTE, SERVICE_DESCRIPTION, SERVICE_ID, SERVICE_PID, SERVICE_RANKING, SERVICE_VENDOR, SINGLETON_DIRECTIVE, SUPPORTS_BOOTCLASSPATH_EXTENSION, SUPPORTS_FRAMEWORK_EXTENSION, SUPPORTS_FRAMEWORK_FRAGMENT, SUPPORTS_FRAMEWORK_REQUIREBUNDLE, SYSTEM_BUNDLE_LOCATION, SYSTEM_BUNDLE_SYMBOLICNAME, USES_DIRECTIVE, VERSION_ATTRIBUTE, VISIBILITY_DIRECTIVE, VISIBILITY_PRIVATE, VISIBILITY_REEXPORT
 
Constructor Summary
Constants()
           
 
Method Summary
static java.lang.String getInternalSymbolicName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OSGI_FRAMEWORK_VERSION

public static final java.lang.String OSGI_FRAMEWORK_VERSION
Default framework version

See Also:
Constant Field Values

OSGI_FRAMEWORK_VENDOR

public static final java.lang.String OSGI_FRAMEWORK_VENDOR
Framework vendor

See Also:
Constant Field Values

OSGI_BUNDLE_MANIFEST

public static final java.lang.String OSGI_BUNDLE_MANIFEST
Bundle manifest name

See Also:
Constant Field Values

OSGI_FRAMEWORK_PACKAGE

public static final java.lang.String OSGI_FRAMEWORK_PACKAGE
OSGi framework package name.

See Also:
Constant Field Values

OSGI_RESOURCE_URL_PROTOCOL

public static final java.lang.String OSGI_RESOURCE_URL_PROTOCOL
Bundle resource URL protocol

See Also:
Constant Field Values

OSGI_ENTRY_URL_PROTOCOL

public static final java.lang.String OSGI_ENTRY_URL_PROTOCOL
Bundle entry URL protocol

See Also:
Constant Field Values

OSGI_PROCESSOR_ALIASES

public static final java.lang.String OSGI_PROCESSOR_ALIASES
Processor aliases resource

See Also:
Constant Field Values

OSGI_OSNAME_ALIASES

public static final java.lang.String OSGI_OSNAME_ALIASES
OS name aliases resource

See Also:
Constant Field Values

OSGI_DEFAULT_DEFAULT_PERMISSIONS

public static final java.lang.String OSGI_DEFAULT_DEFAULT_PERMISSIONS
Default permissions for bundles with no permission set and there are no default permissions set.

See Also:
Constant Field Values

OSGI_BASE_IMPLIED_PERMISSIONS

public static final java.lang.String OSGI_BASE_IMPLIED_PERMISSIONS
Base implied permissions for all bundles

See Also:
Constant Field Values

OSGI_LOGSERVICE_NAME

public static final java.lang.String OSGI_LOGSERVICE_NAME
Name of OSGi LogService

See Also:
Constant Field Values

OSGI_PACKAGEADMIN_NAME

public static final java.lang.String OSGI_PACKAGEADMIN_NAME
Name of OSGi PackageAdmin

See Also:
Constant Field Values

OSGI_PERMISSIONADMIN_NAME

public static final java.lang.String OSGI_PERMISSIONADMIN_NAME
Name of OSGi PermissionAdmin

See Also:
Constant Field Values

OSGI_STARTLEVEL_NAME

public static final java.lang.String OSGI_STARTLEVEL_NAME
Name of OSGi StartLevel

See Also:
Constant Field Values

JVM_VM_NAME

public static final java.lang.String JVM_VM_NAME
JVM java.vm.name property name

See Also:
Constant Field Values

JVM_OS_ARCH

public static final java.lang.String JVM_OS_ARCH
JVM os.arch property name

See Also:
Constant Field Values

JVM_OS_NAME

public static final java.lang.String JVM_OS_NAME
JVM os.name property name

See Also:
Constant Field Values

JVM_OS_VERSION

public static final java.lang.String JVM_OS_VERSION
JVM os.version property name

See Also:
Constant Field Values

JVM_USER_LANGUAGE

public static final java.lang.String JVM_USER_LANGUAGE
JVM user.language property name

See Also:
Constant Field Values

JVM_USER_REGION

public static final java.lang.String JVM_USER_REGION
JVM user.region property name

See Also:
Constant Field Values

J2ME_MICROEDITION_CONFIGURATION

public static final java.lang.String J2ME_MICROEDITION_CONFIGURATION
J2ME configuration property name

See Also:
Constant Field Values

J2ME_MICROEDITION_PROFILES

public static final java.lang.String J2ME_MICROEDITION_PROFILES
J2ME profile property name

See Also:
Constant Field Values

BUNDLE_STARTED

public static final int BUNDLE_STARTED
Persistent start bundle status

See Also:
Constant Field Values

BUNDLE_LAZY_START

public static final int BUNDLE_LAZY_START
Lazy start flag bundle status

See Also:
Constant Field Values

BUNDLE_ACTIVATION_POLICY

public static final int BUNDLE_ACTIVATION_POLICY
See Also:
Constant Field Values

OSGI_PROPERTIES

public static final java.lang.String OSGI_PROPERTIES
Property file locations and default names.

See Also:
Constant Field Values

DEFAULT_OSGI_PROPERTIES

public static final java.lang.String DEFAULT_OSGI_PROPERTIES
See Also:
Constant Field Values

OSGI_FRAMEWORK_SYSTEM_PACKAGES

public static final java.lang.String OSGI_FRAMEWORK_SYSTEM_PACKAGES
OSGI system package property

See Also:
Constant Field Values

OSGI_BOOTDELEGATION

public static final java.lang.String OSGI_BOOTDELEGATION
See Also:
Constant Field Values

OSGI_SYSTEM_BUNDLE

public static final java.lang.String OSGI_SYSTEM_BUNDLE
See Also:
Constant Field Values

OSGI_IMPL_VERSION_KEY

public static final java.lang.String OSGI_IMPL_VERSION_KEY
OSGI implementation version properties key

See Also:
Constant Field Values

OSGI_JAVA_PROFILE

public static final java.lang.String OSGI_JAVA_PROFILE
OSGi java profile; used to give a URL to a java profile

See Also:
Constant Field Values

OSGI_JAVA_PROFILE_NAME

public static final java.lang.String OSGI_JAVA_PROFILE_NAME
See Also:
Constant Field Values

OSGI_JAVA_PROFILE_BOOTDELEGATION

public static final java.lang.String OSGI_JAVA_PROFILE_BOOTDELEGATION
OSGi java profile bootdelegation; used to indicate how the org.osgi.framework.bootdelegation property defined in the java profile should be processed, (ingnore, override, none). default is ignore

See Also:
Constant Field Values

OSGI_BOOTDELEGATION_IGNORE

public static final java.lang.String OSGI_BOOTDELEGATION_IGNORE
indicates that the org.osgi.framework.bootdelegation in the java profile should be ingored

See Also:
Constant Field Values

OSGI_BOOTDELEGATION_OVERRIDE

public static final java.lang.String OSGI_BOOTDELEGATION_OVERRIDE
indicates that the org.osgi.framework.bootdelegation in the java profile should override the system property

See Also:
Constant Field Values

OSGI_BOOTDELEGATION_NONE

public static final java.lang.String OSGI_BOOTDELEGATION_NONE
indicates that the org.osgi.framework.bootdelegation in the java profile AND the system properties should be ignored

See Also:
Constant Field Values

OSGI_RESOLVER_MODE

public static final java.lang.String OSGI_RESOLVER_MODE
OSGi strict delegation

See Also:
Constant Field Values

STRICT_MODE

public static final java.lang.String STRICT_MODE
See Also:
Constant Field Values

DEVELOPMENT_MODE

public static final java.lang.String DEVELOPMENT_MODE
See Also:
Constant Field Values

OSGI_FRAMEWORKBEGINNINGSTARTLEVEL

public static final java.lang.String OSGI_FRAMEWORKBEGINNINGSTARTLEVEL
See Also:
Constant Field Values

DEFAULT_STARTLEVEL

public static final java.lang.String DEFAULT_STARTLEVEL
Properties defaults

See Also:
Constant Field Values

ECLIPSE_EE_INSTALL_VERIFY

public static java.lang.String ECLIPSE_EE_INSTALL_VERIFY

OSGI_COMPATIBILITY_BOOTDELEGATION

public static java.lang.String OSGI_COMPATIBILITY_BOOTDELEGATION

ECLIPSE_SYSTEMBUNDLE

public static final java.lang.String ECLIPSE_SYSTEMBUNDLE
Eclipse-SystemBundle header

See Also:
Constant Field Values

ECLIPSE_PLATFORMFILTER

public static final java.lang.String ECLIPSE_PLATFORMFILTER
See Also:
Constant Field Values

Eclipse_JREBUNDLE

public static final java.lang.String Eclipse_JREBUNDLE
See Also:
Constant Field Values

INTERNAL_DIRECTIVE

public static final java.lang.String INTERNAL_DIRECTIVE
Manifest Export-Package directive indicating that the exported package should only be made available when the resolver is not in strict mode.

See Also:
Constant Field Values

FRIENDS_DIRECTIVE

public static final java.lang.String FRIENDS_DIRECTIVE
Manifest Export-Package directive indicating that the exported package should only be made available to friends of the exporting bundle.

See Also:
Constant Field Values

PROVIDE_PACKAGE

public static final java.lang.String PROVIDE_PACKAGE
Deprecated. 
Manifest header (named "Provide-Package") identifying the packages name provided to other bundles which require the bundle.

NOTE: this is only used for backwards compatibility, bundles manifest using syntax version 2 will not recognize this header.

The attribute value may be retrieved from the Dictionary object returned by the Bundle.getHeaders method.

See Also:
Constant Field Values

REPROVIDE_ATTRIBUTE

public static final java.lang.String REPROVIDE_ATTRIBUTE
Deprecated. 
Manifest header attribute (named "reprovide") for Require-Bundle identifying that any packages that are provided by the required bundle must be reprovided by the requiring bundle. The default value is false.

The attribute value is encoded in the Require-Bundle manifest header like:

 Require-Bundle: com.acme.module.test; reprovide="true"
 

NOTE: this is only used for backwards compatibility, bundles manifest using syntax version 2 will not recognize this attribute.

See Also:
Constant Field Values

OPTIONAL_ATTRIBUTE

public static final java.lang.String OPTIONAL_ATTRIBUTE
Deprecated. 
Manifest header attribute (named "optional") for Require-Bundle identifying that a required bundle is optional and that the requiring bundle can be resolved if there is no suitable required bundle. The default value is false.

The attribute value is encoded in the Require-Bundle manifest header like:

 Require-Bundle: com.acme.module.test; optional="true"
 

NOTE: this is only used for backwards compatibility, bundles manifest using syntax version 2 will not recognize this attribute.

Since:
1.3 EXPERIMENTAL
See Also:
Constant Field Values

REQUIRE_PACKAGES_ATTRIBUTE

public static final java.lang.String REQUIRE_PACKAGES_ATTRIBUTE
Deprecated. 
Manifest header attribute (named "require-packages") for Require-Bundle specifying the subset of packages that are accessible from the required bundle. If the require-packages parameter is not specified then all packages provided by the required bundle are accessible. The value of this parameter must be a quoted string. The syntax of the quoted string value is the same as that of the Provide-Package manifest header value.

The attribute value is encoded in the Require-Bundle manifest header like:

 Require-Bundle: org.osgi.test;
  require-packages="org.osgi.test.pkg1,org.osgi.test.pkg2"
 

NOTE: this is only used for backwards compatibility, bundles manifest using syntax version 2 will not recognize this attribute.

See Also:
Constant Field Values

BUDDY_LOADER

public static final java.lang.String BUDDY_LOADER
The key used to designate the buddy loader associated with a given bundle.

See Also:
Constant Field Values

REGISTERED_POLICY

public static final java.lang.String REGISTERED_POLICY
See Also:
Constant Field Values

REEXPORT_PACKAGE

public static final java.lang.String REEXPORT_PACKAGE
Deprecated. 
Manifest header (named "Reexport-Package") identifying the names of the packages that the bundle offers to the Framework for reexport.

The attribute value may be retrieved from the Dictionary object returned by the Bundle.getHeaders method.

See Also:
Constant Field Values

INTERNAL_HANDLER_PKGS

public static final java.lang.String INTERNAL_HANDLER_PKGS
See Also:
Constant Field Values

PLUGIN_CLASS

public static final java.lang.String PLUGIN_CLASS
See Also:
Constant Field Values

ECLIPSE_LAZYSTART

public static final java.lang.String ECLIPSE_LAZYSTART
Manifest header used to specify the lazy start properties of a bundle

See Also:
Constant Field Values

ECLIPSE_LAZYSTART_EXCEPTIONS

public static final java.lang.String ECLIPSE_LAZYSTART_EXCEPTIONS
An Eclipse-LazyStart attribute used to specify exception classes for auto start

See Also:
Constant Field Values

ECLIPSE_AUTOSTART

public static final java.lang.String ECLIPSE_AUTOSTART
Deprecated. use ECLIPSE_LAZYSTART
Manifest header used to specify the auto start properties of a bundle

See Also:
Constant Field Values

ECLIPSE_AUTOSTART_EXCEPTIONS

public static final java.lang.String ECLIPSE_AUTOSTART_EXCEPTIONS
Deprecated. use ECLIPSE_LAZYSTART_EXCEPTIONS
See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()
Method Detail

getInternalSymbolicName

public static java.lang.String getInternalSymbolicName()