Deprecated API


Contents
Deprecated Interfaces
org.osgi.service.framework.CompositeBundle
          This is proposed API. As a result, this API may never be published or the final API may change substantially by the time of final publication. You are cautioned against relying upon this API. 
org.osgi.service.framework.CompositeBundleFactory
          This is proposed API. As a result, this API may never be published or the final API may change substantially by the time of final publication. You are cautioned against relying upon this API. 
org.osgi.framework.Configurable
          As of 1.2. Please use Configuration Admin service. 
org.osgi.service.framework.SurrogateBundle
          This is proposed API. As a result, this API may never be published or the final API may change substantially by the time of final publication. You are cautioned against relying upon this API. 
 

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

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.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.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
            
org.eclipse.osgi.framework.internal.core.Constants.REQUIRE_PACKAGES_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.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.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.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.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[], BundleDescription[], ExportPackageDescription[]) 
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.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.