OSGi™ Service Platform
Release 2

Constant Field Values


Contents
org.osgi.*

org.osgi.framework.Bundle
public static final int ACTIVE 32
public static final int INSTALLED 2
public static final int RESOLVED 4
public static final int STARTING 8
public static final int STOPPING 16
public static final int UNINSTALLED 1

org.osgi.framework.BundleEvent
public static final int INSTALLED 1
public static final int STARTED 2
public static final int STOPPED 4
public static final int UNINSTALLED 16
public static final int UPDATED 8

org.osgi.framework.Constants
public static final java.lang.String BUNDLE_ACTIVATOR "Bundle-Activator"
public static final java.lang.String BUNDLE_CATEGORY "Bundle-Category"
public static final java.lang.String BUNDLE_CLASSPATH "Bundle-ClassPath"
public static final java.lang.String BUNDLE_CONTACTADDRESS "Bundle-ContactAddress"
public static final java.lang.String BUNDLE_COPYRIGHT "Bundle-Copyright"
public static final java.lang.String BUNDLE_DESCRIPTION "Bundle-Description"
public static final java.lang.String BUNDLE_DOCURL "Bundle-DocURL"
public static final java.lang.String BUNDLE_NAME "Bundle-Name"
public static final java.lang.String BUNDLE_NATIVECODE "Bundle-NativeCode"
public static final java.lang.String BUNDLE_NATIVECODE_LANGUAGE "language"
public static final java.lang.String BUNDLE_NATIVECODE_OSNAME "osname"
public static final java.lang.String BUNDLE_NATIVECODE_OSVERSION "osversion"
public static final java.lang.String BUNDLE_NATIVECODE_PROCESSOR "processor"
public static final java.lang.String BUNDLE_UPDATELOCATION "Bundle-UpdateLocation"
public static final java.lang.String BUNDLE_VENDOR "Bundle-Vendor"
public static final java.lang.String BUNDLE_VERSION "Bundle-Version"
public static final java.lang.String EXPORT_PACKAGE "Export-Package"
public static final java.lang.String EXPORT_SERVICE "Export-Service"
public static final java.lang.String FRAMEWORK_LANGUAGE "org.osgi.framework.language"
public static final java.lang.String FRAMEWORK_OS_NAME "org.osgi.framework.os.name"
public static final java.lang.String FRAMEWORK_OS_VERSION "org.osgi.framework.os.version"
public static final java.lang.String FRAMEWORK_PROCESSOR "org.osgi.framework.processor"
public static final java.lang.String FRAMEWORK_VENDOR "org.osgi.framework.vendor"
public static final java.lang.String FRAMEWORK_VERSION "org.osgi.framework.version"
public static final java.lang.String IMPORT_PACKAGE "Import-Package"
public static final java.lang.String IMPORT_SERVICE "Import-Service"
public static final java.lang.String OBJECTCLASS "objectClass"
public static final java.lang.String PACKAGE_SPECIFICATION_VERSION "specification-version"
public static final java.lang.String SERVICE_DESCRIPTION "service.description"
public static final java.lang.String SERVICE_ID "service.id"
public static final java.lang.String SERVICE_PID "service.pid"
public static final java.lang.String SERVICE_RANKING "service.ranking"
public static final java.lang.String SERVICE_VENDOR "service.vendor"
public static final java.lang.String SYSTEM_BUNDLE_LOCATION "System Bundle"

org.osgi.framework.FrameworkEvent
public static final int ERROR 2
public static final int STARTED 1

org.osgi.framework.PackagePermission
public static final java.lang.String EXPORT "export"
public static final java.lang.String IMPORT "import"

org.osgi.framework.ServiceEvent
public static final int MODIFIED 2
public static final int REGISTERED 1
public static final int UNREGISTERING 4

org.osgi.framework.ServicePermission
public static final java.lang.String GET "get"
public static final java.lang.String REGISTER "register"

org.osgi.service.cm.ConfigurationPlugin
public static final java.lang.String CM_TARGET "cm.target"

org.osgi.service.device.Constants
public static final java.lang.String DEVICE_CATEGORY "DEVICE_CATEGORY"
public static final java.lang.String DEVICE_DESCRIPTION "DEVICE_DESCRIPTION"
public static final java.lang.String DEVICE_SERIAL "DEVICE_SERIAL"
public static final java.lang.String DRIVER_ID "DRIVER_ID"

org.osgi.service.device.Device
public static final int MATCH_NONE 0

org.osgi.service.device.DriverSelector
public static final int SELECT_NONE -1

org.osgi.service.http.HttpContext
public static final java.lang.String AUTHENTICATION_TYPE "org.osgi.service.http.authentication.type"
public static final java.lang.String AUTHORIZATION "org.osgi.service.useradmin.authorization"
public static final java.lang.String REMOTE_USER "org.osgi.service.http.authentication.remote.user"

org.osgi.service.log.LogService
public static final int LOG_DEBUG 4
public static final int LOG_ERROR 1
public static final int LOG_INFO 3
public static final int LOG_WARNING 2

org.osgi.service.metatype.AttributeDefinition
public static final int BIGDECIMAL 10
public static final int BIGINTEGER 9
public static final int BOOLEAN 11
public static final int BYTE 6
public static final int CHARACTER 5
public static final int DOUBLE 7
public static final int FLOAT 8
public static final int INTEGER 3
public static final int LONG 2
public static final int SHORT 4
public static final int STRING 1

org.osgi.service.metatype.ObjectClassDefinition
public static final int ALL -1
public static final int OPTIONAL 2
public static final int REQUIRED 1

org.osgi.service.useradmin.Role
public static final int GROUP 2
public static final int ROLE 0
public static final int USER 1

org.osgi.service.useradmin.UserAdminEvent
public static final int ROLE_CHANGED 2
public static final int ROLE_CREATED 1
public static final int ROLE_REMOVED 4

org.osgi.service.useradmin.UserAdminPermission
public static final java.lang.String ADMIN "admin"
public static final java.lang.String CHANGE_CREDENTIAL "changeCredential"
public static final java.lang.String CHANGE_PROPERTY "changeProperty"
public static final java.lang.String GET_CREDENTIAL "getCredential"


OSGi™ Service Platform
Release 2

Copyright © OSGi Alliance (2000, 2002). All Rights Reserved. Licensed under the OSGi Specification License, Version 1.0