OSGi™ Service Platform
Core Specification

Release 4 Version 4.3

Deprecated API


Contents
Deprecated Interfaces
org.osgi.framework.Configurable
          As of 1.2. Please use Configuration Admin service. 
org.osgi.framework.hooks.service.EventHook
          As of 1.1. Replaced by EventListenerHook. 
org.osgi.service.packageadmin.ExportedPackage
          The PackageAdmin service has been replaced by the org.osgi.framework.wiring package. 
org.osgi.service.packageadmin.PackageAdmin
          This service has been replaced by the org.osgi.framework.wiring package. 
org.osgi.service.packageadmin.RequiredBundle
          The PackageAdmin service has been replaced by the org.osgi.framework.wiring package. 
org.osgi.service.startlevel.StartLevel
          This service has been replaced by the org.osgi.framework.startlevel package. 
 

Deprecated Fields
org.osgi.framework.Constants.BUNDLE_REQUIREDEXECUTIONENVIRONMENT
          As of 1.6. Replaced by the osgi.ee capability. 
org.osgi.framework.PackagePermission.EXPORT
          Since 1.5. Use exportonly instead. 
org.osgi.framework.Constants.EXPORT_SERVICE
          As of 1.2. 
org.osgi.framework.Constants.FRAMEWORK_EXECUTIONENVIRONMENT
          As of 1.6. Replaced by the osgi.ee capability. 
org.osgi.framework.Constants.IMPORT_SERVICE
          As of 1.2. 
org.osgi.framework.Constants.PACKAGE_SPECIFICATION_VERSION
          As of 1.3. This has been replaced by Constants.VERSION_ATTRIBUTE. 
 

Deprecated Methods
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.addConditionalPermissionInfo(ConditionInfo[], PermissionInfo[])
          Since 1.1. Use ConditionalPermissionAdmin.newConditionalPermissionUpdate() instead. 
org.osgi.service.condpermadmin.ConditionalPermissionInfo.delete()
          Since 1.1. Use ConditionalPermissionAdmin.newConditionalPermissionUpdate() instead to manage the Conditional Permissions. 
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.getConditionalPermissionInfo(String)
          Since 1.1. Use ConditionalPermissionAdmin.newConditionalPermissionUpdate() instead. 
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.getConditionalPermissionInfos()
          Since 1.1. Use ConditionalPermissionAdmin.newConditionalPermissionUpdate() instead. 
org.osgi.framework.Configurable.getConfigurationObject()
          As of 1.2. Please use Configuration Admin service. 
org.osgi.service.packageadmin.ExportedPackage.getSpecificationVersion()
          As of 1.2, replaced by ExportedPackage.getVersion(). 
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.setConditionalPermissionInfo(String, ConditionInfo[], PermissionInfo[])
          Since 1.1. Use ConditionalPermissionAdmin.newConditionalPermissionUpdate() instead. 
org.osgi.service.url.URLStreamHandlerSetter.setURL(URL, String, String, int, String, String)
          This method is only for compatibility with handlers written for JDK 1.1. 
org.osgi.service.url.AbstractURLStreamHandlerService.setURL(URL, String, String, int, String, String)
          This method is only for compatibility with handlers written for JDK 1.1. 
 

Deprecated Constructors
org.osgi.framework.FrameworkEvent(int, Object)
          As of 1.2. This constructor is deprecated in favor of using the other constructor with the System Bundle as the event source. 
 


OSGi™ Service Platform
Core Specification

Release 4 Version 4.3

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