Deprecated API


Contents
Deprecated Interfaces
org.osgi.service.framework.CompositeBundle
          This API proposal was rejected by the OSGi Alliance and will not be part of any OSGi specification. Please transition to the org.osgi.framework.hooks API to control resolution, bundle, and service isolation. This API will be removed from Equinox in the 3.9 release You are cautioned against relying upon this API. 
org.osgi.service.framework.CompositeBundleFactory
          This API proposal was rejected by the OSGi Alliance and will not be part of any OSGi specification. Please transition to the org.osgi.framework.hooks API to control resolution, bundle, and service isolation. This API will be removed from Equinox in the 3.9 release You are cautioned against relying upon this API. 
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. 
org.osgi.service.framework.SurrogateBundle
          This API proposal was rejected by the OSGi Alliance and will not be part of any OSGi specification. Please transition to the org.osgi.framework.hooks API to control resolution, bundle, and service isolation. This API will be removed from Equinox in the 3.9 release You are cautioned against relying upon this API. 
 

Deprecated Classes
org.eclipse.osgi.framework.eventmgr.EventListeners
          As of 3.5. Replaced by CopyOnWriteIdentityMap. 
org.eclipse.osgi.framework.internal.core.ExportedPackageImpl
            
 

Deprecated Fields
org.eclipse.osgi.service.environment.Constants.ARCH_AMD64
          use ARCH_X86_64 instead. Note the values has been changed to be the value of the ARCH_X86_64 constant. 
org.osgi.framework.Constants.BUNDLE_REQUIREDEXECUTIONENVIRONMENT
          As of 1.6. Replaced by the osgi.ee capability. 
org.eclipse.osgi.framework.internal.core.Constants.ECLIPSE_AUTOSTART
          use Constants.ECLIPSE_LAZYSTART 
org.eclipse.osgi.framework.internal.core.Constants.ECLIPSE_AUTOSTART_EXCEPTIONS
          use Constants.ECLIPSE_LAZYSTART_EXCEPTIONS 
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.eclipse.osgi.service.resolver.BundleDelta.LINKAGE_CHANGED
          this type is no longer valid 
org.eclipse.osgi.framework.internal.core.Constants.OPTIONAL_ATTRIBUTE
            
org.eclipse.osgi.service.resolver.BundleDelta.OPTIONAL_LINKAGE_CHANGED
          this type is no longer valid 
org.osgi.framework.Constants.PACKAGE_SPECIFICATION_VERSION
          As of 1.3. This has been replaced by Constants.VERSION_ATTRIBUTE. 
org.eclipse.osgi.framework.internal.core.Constants.PROVIDE_PACKAGE
            
org.eclipse.osgi.framework.internal.core.Constants.REPROVIDE_ATTRIBUTE
            
 

Deprecated Methods
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.addConditionalPermissionInfo(ConditionInfo[], PermissionInfo[])
          Since 1.1. Use ConditionalPermissionAdmin.newConditionalPermissionUpdate() instead. 
org.eclipse.osgi.internal.permadmin.SecurityAdmin.addConditionalPermissionInfo(ConditionInfo[], PermissionInfo[])
            
org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createBundleDescription(Dictionary, String, long)
            
org.eclipse.osgi.service.resolver.StateObjectFactory.createBundleDescription(Dictionary, String, long)
          use StateObjectFactory.createBundleDescription(State, Dictionary, String, long) 
org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], String[], boolean)
            
org.eclipse.osgi.service.resolver.StateObjectFactory.createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], String[], boolean)
          use StateObjectFactory.createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], boolean, boolean, boolean, String, String[], GenericSpecification[], GenericDescription[]) 
org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], String[], boolean, boolean, boolean, String, String, GenericSpecification[], GenericDescription[])
            
org.eclipse.osgi.service.resolver.StateObjectFactory.createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], String[], boolean, boolean, boolean, String, String, GenericSpecification[], GenericDescription[])
          use StateObjectFactory.createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], boolean, boolean, boolean, String, String[], GenericSpecification[], GenericDescription[]) 
org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createGenericDescription(String, String, Version, Map)
            
org.eclipse.osgi.service.resolver.StateObjectFactory.createGenericDescription(String, String, Version, Map)
          use StateObjectFactory.createGenericDescription(String, String, Version, Map) 
org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createState()
            
org.eclipse.osgi.service.resolver.StateObjectFactory.createState()
          use StateObjectFactory.createState(boolean) 
org.osgi.service.condpermadmin.ConditionalPermissionInfo.delete()
          Since 1.1. Use ConditionalPermissionAdmin.newConditionalPermissionUpdate() instead to manage the Conditional Permissions. 
org.eclipse.osgi.internal.permadmin.SecurityRowSnapShot.delete()
            
org.eclipse.osgi.internal.permadmin.SecurityRow.delete()
            
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.getConditionalPermissionInfo(String)
          Since 1.1. Use ConditionalPermissionAdmin.newConditionalPermissionUpdate() instead. 
org.eclipse.osgi.internal.permadmin.SecurityAdmin.getConditionalPermissionInfo(String)
            
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.getConditionalPermissionInfos()
          Since 1.1. Use ConditionalPermissionAdmin.newConditionalPermissionUpdate() instead. 
org.eclipse.osgi.internal.permadmin.SecurityAdmin.getConditionalPermissionInfos()
            
org.osgi.framework.Configurable.getConfigurationObject()
          As of 1.2. Please use Configuration Admin service. 
org.eclipse.osgi.internal.resolver.GenericDescriptionImpl.getName()
            
org.eclipse.osgi.service.resolver.GenericDescription.getName()
          matching should only be done against a capability's attributes. 
org.eclipse.osgi.internal.baseadaptor.StateManager.getResolver()
            
org.eclipse.osgi.service.resolver.PlatformAdmin.getResolver()
          in favour of PlatformAdmin.createResolver(). 
org.eclipse.osgi.baseadaptor.bundlefile.BundleFile.getResourceURL(String, long)
          use BundleFile.getResourceURL(String, BaseData, int) 
org.eclipse.osgi.baseadaptor.bundlefile.BundleFile.getResourceURL(String, long, int)
          use BundleFile.getResourceURL(String, BaseData, int) 
org.osgi.service.packageadmin.ExportedPackage.getSpecificationVersion()
          As of 1.2, replaced by ExportedPackage.getVersion(). 
org.eclipse.osgi.framework.internal.core.ExportedPackageImpl.getSpecificationVersion()
            
org.eclipse.osgi.internal.resolver.GenericDescriptionImpl.getVersion()
            
org.eclipse.osgi.service.resolver.GenericDescription.getVersion()
          matching should only be done against a capability's attributes. 
org.eclipse.osgi.internal.resolver.ExportPackageDescriptionImpl.isRoot()
            
org.eclipse.osgi.service.resolver.ExportPackageDescription.isRoot()
          all export package descriptions are roots. The Reexport-Package header never became API. 
org.eclipse.osgi.framework.eventmgr.ListenerQueue.queueListeners(EventListeners, EventDispatcher)
          As of 3.5. Replaced by ListenerQueue.queueListeners(Set, EventDispatcher). 
org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.readState(DataInputStream)
            
org.eclipse.osgi.service.resolver.StateObjectFactory.readState(DataInputStream)
          use StateObjectFactory.readState(File) instead 
org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.readState(InputStream)
            
org.eclipse.osgi.service.resolver.StateObjectFactory.readState(InputStream)
          use StateObjectFactory.readState(File) instead 
org.eclipse.osgi.internal.resolver.StateImpl.resolveBundle(BundleDescription, boolean, BundleDescription[], ExportPackageDescription[], BundleDescription[], ExportPackageDescription[])
            
org.eclipse.osgi.internal.resolver.ReadOnlyState.resolveBundle(BundleDescription, boolean, BundleDescription[], ExportPackageDescription[], BundleDescription[], ExportPackageDescription[])
            
org.eclipse.osgi.service.resolver.State.resolveBundle(BundleDescription, boolean, BundleDescription[], ExportPackageDescription[], BundleDescription[], ExportPackageDescription[])
          use State.resolveBundle(BundleDescription, boolean, BundleDescription[], ExportPackageDescription[], ExportPackageDescription[], GenericDescription[], BundleDescription[], ExportPackageDescription[], GenericDescription[], Map) 
org.eclipse.osgi.internal.resolver.StateImpl.resolveBundle(BundleDescription, boolean, BundleDescription[], ExportPackageDescription[], ExportPackageDescription[], BundleDescription[], ExportPackageDescription[])
            
org.eclipse.osgi.internal.resolver.ReadOnlyState.resolveBundle(BundleDescription, boolean, BundleDescription[], ExportPackageDescription[], ExportPackageDescription[], BundleDescription[], ExportPackageDescription[])
            
org.eclipse.osgi.service.resolver.State.resolveBundle(BundleDescription, boolean, BundleDescription[], ExportPackageDescription[], ExportPackageDescription[], BundleDescription[], ExportPackageDescription[])
          use State.resolveBundle(BundleDescription, boolean, BundleDescription[], ExportPackageDescription[], ExportPackageDescription[], GenericDescription[], BundleDescription[], ExportPackageDescription[], GenericDescription[], Map) 
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.setConditionalPermissionInfo(String, ConditionInfo[], PermissionInfo[])
          Since 1.1. Use ConditionalPermissionAdmin.newConditionalPermissionUpdate() instead. 
org.eclipse.osgi.internal.permadmin.SecurityAdmin.setConditionalPermissionInfo(String, ConditionInfo[], PermissionInfo[])
            
org.eclipse.osgi.service.resolver.State.setOverrides(Object)
          The exact form of this has never been defined. There is no alternative method available. 
org.eclipse.core.runtime.internal.adaptor.BasicLocation.setURL(URL, boolean)
            
org.eclipse.osgi.service.datalocation.Location.setURL(URL, boolean)
          use Location.set(URL, boolean) 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. 
org.eclipse.osgi.framework.internal.protocol.URLStreamHandlerSetter.setURL(URL, String, String, int, String, String)
            
org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.writeState(State, DataOutputStream)
            
org.eclipse.osgi.service.resolver.StateObjectFactory.writeState(State, DataOutputStream)
          use StateObjectFactory.writeState(State, File) instead 
org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.writeState(State, OutputStream)
            
org.eclipse.osgi.service.resolver.StateObjectFactory.writeState(State, OutputStream)
          use StateObjectFactory.writeState(State, File) instead 
 

Deprecated Constructors
org.eclipse.osgi.framework.adaptor.BundleProtectionDomain(PermissionCollection)
          use BundleProtectionDomain.BundleProtectionDomain(PermissionCollection, CodeSource, Bundle) 
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. 
 



Copyright © 2007-2012 FuseSource, Corp.. All Rights Reserved.