Top Deprecated By Reference
org.osgi.core 6.0.0

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.osgi.framework.Configurable

As of 1.2. Please use Configuration Admin service.

Returns:

The configuration object for this service.
org.osgi.framework.Configurable.getConfigurationObject
()

As of 1.2. Please use Configuration Admin service.

org.osgi.framework.Constants.BUNDLE_REQUIREDEXECUTIONENVIRONMENT

As of 1.6. Replaced by the osgi.ee capability.

org.osgi.framework.Constants.FRAMEWORK_EXECUTIONENVIRONMENT

As of 1.6. Replaced by the osgi.ee capability.

org.osgi.framework.FrameworkEvent(int
The event type.
type
,
Object
The event source object. This may not be null.
source
)

As of 1.2. This constructor is deprecated in favor of using the other constructor with the System Bundle as the event source.

org.osgi.framework.PackagePermission.EXPORT

Since 1.5. Use exportonly instead.

Returns:

The ConditionalPermissionInfo for the specified Conditions and Permissions.
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.addConditionalPermissionInfo
(ConditionInfo[]
The conditions that need to be satisfied to enable the specified permissions. This argument can be null or an empty array indicating the specified permissions are not guarded by any conditions.
conditions
,
PermissionInfo[]
The permissions that are enabled when the specified conditions, if any, are satisfied. This argument must not be null and must specify at least one permission.
permissions
)

Since 1.1. Use newConditionalPermissionUpdate() instead.

Returns:

The Conditional Permission Info with the specified name or null if no Conditional Permission Info with the specified name exists in the Conditional Permission Table.
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.getConditionalPermissionInfo
(String
The name of the Conditional Permission Info to be returned.
name
)

Since 1.1. Use newConditionalPermissionUpdate() instead.

Returns:

An enumeration of the Conditional Permission Infos that are currently in the Conditional Permission Table.
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.getConditionalPermissionInfos
()

Since 1.1. Use newConditionalPermissionUpdate() instead.

Returns:

The ConditionalPermissionInfo for the specified name, Conditions and Permissions.
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.setConditionalPermissionInfo
(String
The name of the Conditional Permission Info, or null.
name
,
ConditionInfo[]
The conditions that need to be satisfied to enable the specified permissions. This argument can be null or an empty array indicating the specified permissions are not guarded by any conditions.
conditions
,
PermissionInfo[]
The permissions that are enabled when the specified conditions, if any, are satisfied. This argument must not be null and must specify at least one permission.
permissions
)

Since 1.1. Use newConditionalPermissionUpdate() instead.

org.osgi.service.packageadmin.ExportedPackage

The PackageAdmin service has been replaced by the org.osgi.framework.wiring package.

Returns:

The version of this exported package, or null if no version information is available.
org.osgi.service.packageadmin.ExportedPackage.getSpecificationVersion
()

As of 1.2, replaced by getVersion().

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.url.AbstractURLStreamHandlerService.setURL(URL
the URL to modify.
u
,
String
the protocol name. This value is ignored since 1.2.
proto
,
String
the remote host value for the URL.
host
,
int
the port on the remote machine.
port
,
String
the file.
file
,
String
the reference.
ref
)

This method is only for compatibility with handlers written for JDK 1.1.

org.osgi.service.url.URLStreamHandlerSetter.setURL(URL u, String protocol, String host, int port, String file, String ref)

This method is only for compatibility with handlers written for JDK 1.1.

Deprecated Reference Summary

SinceItem with Deprecated Reference and Description

Returns:

An AccessControlContext that has the Permissions associated with the signer.
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.getAccessControlContext
(String[]
The signers for which to return an Access Control Context.
signers
)

AccessControlContext is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

The exported package, or null if no exported package with the specified name exists.
org.osgi.service.packageadmin.PackageAdmin.getExportedPackage
(String
The name of the exported package to be returned.
name
)

ExportedPackage is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

An array of exported packages, or null if the specified bundle has no exported packages.
org.osgi.service.packageadmin.PackageAdmin.getExportedPackages
(Bundle
The bundle whose exported packages are to be returned, or null if all exported packages are to be returned. If the specified bundle is the system bundle (that is, the bundle with id zero), this method returns all the packages known to be exported by the system bundle. This will include the package specified by the org.osgi.framework.system.packages system property as well as any other package exported by the framework implementation.
bundle
)

ExportedPackage is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

An array of the exported packages, or null if no exported packages with the specified name exists.
org.osgi.service.packageadmin.PackageAdmin.getExportedPackages
(String
The name of the exported packages to be returned.
name
)

ExportedPackage is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

An array of required bundles or null if no required bundles exist for the specified symbolic name.
org.osgi.service.packageadmin.PackageAdmin.getRequiredBundles
(String
The bundle symbolic name or null for all required bundles.
symbolicName
)

RequiredBundle is deprecated or references (maybe indirectly) at least one deprecated element.