Top Description Interfaces Classes
[default module]

Package org.osgi.framework

Annotations
@Version:1.8
Imports
org.osgi.annotation.versioning.Version

Framework Package Version 1.8.

Bundles wishing to use this package must list the package in the Import-Package header of the bundle's manifest.

Example import for consumers using the API in this package:

Import-Package: org.osgi.framework; version="[1.8,2.0)"

Author
$Id: f7b9e43d8cb42d8182b06814406c44e01f6fc31e $

Interface Summary

Modifier and TypeInterface and Description
public interface
AllServiceListener

A ServiceEvent listener that does not filter based upon package wiring.

public interface
Bundle

An installed bundle in the Framework.

public interface
BundleActivator

Customizes the starting and stopping of a bundle.

public interface
BundleContext

A bundle's execution context within the Framework.

public interface
BundleListener

A BundleEvent listener.

public interface
BundleReference

A reference to a Bundle.

public interface
Configurable

Deprecated As of 1.2. Please use Configuration Admin service.
Supports a configuration object.
public interface
Constants

Defines standard names for the OSGi environment system properties, service properties, and Manifest header attribute keys.

public interface
Filter

An RFC 1960-based Filter.

public interface
FrameworkListener

A FrameworkEvent listener.

public interface
PrototypeServiceFactory<
Type of Service
S
>

A factory for prototype scope services.

public interface
ServiceFactory<
Type of Service
S
>

A factory for bundle scope services.

public interface
ServiceListener

A ServiceEvent listener.

public interface
ServiceObjects<
Type of Service
S
>

Allows multiple service objects for a service to be obtained.

public interface
ServiceReference<
Type of Service.
S
>

A reference to a service.

public interface
ServiceRegistration<
Type of Service.
S
>

A registered service.

public interface
SynchronousBundleListener

A synchronous BundleEvent listener.

public interface
UnfilteredServiceListener

A ServiceEvent listener that does not filter based upon any filter string specified to BundleContext#addServiceListener(ServiceListener, String).

Class Summary

Modifier and TypeClass and Description
public class
AdaptPermission

A bundle's authority to adapt an object to a type.

pack-priv class
AdaptPermissionCollection

Stores a set of AdaptPermission permissions.

public class
AdminPermission

A bundle's authority to perform specific privileged administrative operations on or to get sensitive information about a bundle.

pack-priv class
AdminPermissionCollection

Stores a collection of AdminPermissions.

public class
BundleEvent

An event from the Framework describing a bundle lifecycle change.

public class
BundleException

A Framework exception used to indicate that a bundle lifecycle problem occurred.

public class
BundlePermission

A bundle's authority to require or provide a bundle or to receive or attach fragments.

pack-priv class
BundlePermissionCollection

Stores a set of BundlePermission permissions.

public class
CapabilityPermission

A bundle's authority to provide or require a capability.

pack-priv class
CapabilityPermissionCollection

Stores a set of CapabilityPermission permissions.

public class
FrameworkEvent

A general event from the Framework.

public class
FrameworkUtil

Framework Utility class.

public class
InvalidSyntaxException

A Framework exception used to indicate that a filter string has an invalid syntax.

public class
PackagePermission

A bundle's authority to import or export a package.

pack-priv class
PackagePermissionCollection

Stores a set of PackagePermission permissions.

public class
ServiceEvent

An event from the Framework describing a service lifecycle change.

public class
ServiceException

A service exception used to indicate that a service problem occurred.

public class
ServicePermission

A bundle's authority to register or get a service.

pack-priv class
ServicePermissionCollection

Stores a set of ServicePermission permissions.

pack-priv class
SignerProperty

Package private class used by permissions for filter matching on signer key during filter expression evaluation in the permission implies method.

public class
Version

Version identifier for capabilities such as bundles and packages.

public class
VersionRange

Version range.