1 11 12 package org.eclipse.osgi.framework.internal.core; 13 14 18 19 public class Constants implements org.osgi.framework.Constants { 20 21 public static final String OSGI_FRAMEWORK_VERSION = "1.3"; 23 24 public static final String OSGI_FRAMEWORK_VENDOR = "Eclipse"; 26 27 public static final String OSGI_BUNDLE_MANIFEST = "META-INF/MANIFEST.MF"; 29 30 public static final String OSGI_FRAMEWORK_PACKAGE = "org.osgi.framework"; 32 33 public static final String OSGI_RESOURCE_URL_PROTOCOL = "bundleresource"; 35 36 public static final String OSGI_ENTRY_URL_PROTOCOL = "bundleentry"; 38 39 public static final String OSGI_PROCESSOR_ALIASES = "processor.aliases"; 41 42 public static final String OSGI_OSNAME_ALIASES = "osname.aliases"; 44 47 public static final String OSGI_DEFAULT_DEFAULT_PERMISSIONS = "default.permissions"; 49 50 public static final String OSGI_BASE_IMPLIED_PERMISSIONS = "implied.permissions"; 52 53 public static final String OSGI_LOGSERVICE_NAME = "org.osgi.service.log.LogService"; 55 56 public static final String OSGI_PACKAGEADMIN_NAME = "org.osgi.service.packageadmin.PackageAdmin"; 58 59 public static final String OSGI_PERMISSIONADMIN_NAME = "org.osgi.service.permissionadmin.PermissionAdmin"; 61 62 public static final String OSGI_STARTLEVEL_NAME = "org.osgi.service.startlevel.StartLevel"; 64 65 public static final String JVM_VM_NAME = "java.vm.name"; 67 68 public static final String JVM_OS_ARCH = "os.arch"; 70 71 public static final String JVM_OS_NAME = "os.name"; 73 74 public static final String JVM_OS_VERSION = "os.version"; 76 77 public static final String JVM_USER_LANGUAGE = "user.language"; 79 80 public static final String JVM_USER_REGION = "user.region"; 82 83 public static final String J2ME_MICROEDITION_CONFIGURATION = "microedition.configuration"; 85 86 public static final String J2ME_MICROEDITION_PROFILES = "microedition.profiles"; 88 89 public static final int BUNDLE_STARTED = 0x00000001; 90 91 public static final int BUNDLE_LAZY_START = 0x00000002; 92 public static final int BUNDLE_ACTIVATION_POLICY = 0x00000004; 93 94 95 public static final String OSGI_PROPERTIES = "osgi.framework.properties"; public static final String DEFAULT_OSGI_PROPERTIES = "osgi.properties"; 98 99 public static final String OSGI_FRAMEWORK_SYSTEM_PACKAGES = "org.osgi.framework.system.packages"; public static final String OSGI_BOOTDELEGATION = "org.osgi.framework.bootdelegation"; public static final String OSGI_SYSTEM_BUNDLE = "system.bundle"; private static String INTERNAL_SYSTEM_BUNDLE = "org.eclipse.osgi"; 104 public static String getInternalSymbolicName() { 105 return INTERNAL_SYSTEM_BUNDLE; 106 } 107 108 static void setInternalSymbolicName(String name) { 109 INTERNAL_SYSTEM_BUNDLE = name; 110 } 111 112 113 public static final String OSGI_IMPL_VERSION_KEY = "osgi.framework.version"; 115 public static final String OSGI_JAVA_PROFILE = "osgi.java.profile"; public static final String OSGI_JAVA_PROFILE_NAME = "osgi.java.profile.name"; 121 public static final String OSGI_JAVA_PROFILE_BOOTDELEGATION = "osgi.java.profile.bootdelegation"; 123 public static final String OSGI_BOOTDELEGATION_IGNORE = "ignore"; 125 public static final String OSGI_BOOTDELEGATION_OVERRIDE = "override"; 127 public static final String OSGI_BOOTDELEGATION_NONE = "none"; 129 public static final String OSGI_RESOLVER_MODE = "osgi.resolverMode"; public static final String STRICT_MODE = "strict"; public static final String DEVELOPMENT_MODE = "development"; 133 public static final String OSGI_FRAMEWORKBEGINNINGSTARTLEVEL = "osgi.framework.beginningstartlevel"; 135 136 public static final String DEFAULT_STARTLEVEL = "1"; 138 public static String ECLIPSE_EE_INSTALL_VERIFY = "eclipse.ee.install.verify"; public static String OSGI_COMPATIBILITY_BOOTDELEGATION = "osgi.compatibility.bootdelegation"; 141 142 public static final String ECLIPSE_SYSTEMBUNDLE = "Eclipse-SystemBundle"; public static final String ECLIPSE_PLATFORMFILTER = "Eclipse-PlatformFilter"; public static final String Eclipse_JREBUNDLE = "Eclipse-JREBundle"; 149 public static final String INTERNAL_DIRECTIVE = "x-internal"; 151 155 public static final String FRIENDS_DIRECTIVE = "x-friends"; 157 170 public final static String PROVIDE_PACKAGE = "Provide-Package"; 172 189 public final static String REPROVIDE_ATTRIBUTE = "reprovide"; 191 210 public final static String OPTIONAL_ATTRIBUTE = "optional"; 212 233 public final static String REQUIRE_PACKAGES_ATTRIBUTE = "require-packages"; 235 238 public final static String BUDDY_LOADER = "Eclipse-BuddyPolicy"; 240 public final static String REGISTERED_POLICY = "Eclipse-RegisterBuddy"; 242 253 public final static String REEXPORT_PACKAGE = "Reexport-Package"; 255 static public final String INTERNAL_HANDLER_PKGS = "equinox.interal.handler.pkgs"; 257 public static final String PLUGIN_CLASS = "Plugin-Class"; 260 261 public static final String ECLIPSE_LAZYSTART = "Eclipse-LazyStart"; 263 264 public static final String ECLIPSE_LAZYSTART_EXCEPTIONS = "exceptions"; 266 270 public static final String ECLIPSE_AUTOSTART = "Eclipse-AutoStart"; 272 275 public static final String ECLIPSE_AUTOSTART_EXCEPTIONS = ECLIPSE_LAZYSTART_EXCEPTIONS; 276 } 277 | Popular Tags |