OSGi™ Service Platform
Release 4 Version 4.2

Deprecated API


Contents
Deprecated Interfaces
org.osgi.framework.Configurable
          As of 1.2. Please use Configuration Admin service. 
 

Deprecated Fields
org.osgi.service.metatype.AttributeDefinition.BIGDECIMAL
          As of 1.1. 
org.osgi.service.metatype.AttributeDefinition.BIGINTEGER
          As of 1.1. 
org.osgi.service.event.EventConstants.EXECPTION_CLASS
          As of 1.1, replaced by EXCEPTION_CLASS 
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.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
Release 4 Version 4.2

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