org.osgi.framework |
|
Java Source File Name | Type | Comment |
AdminPermission.java | Class | Indicates the caller's authority to perform specific privileged
administrative operations on or to get sensitive information about a bundle.
The actions for this permission are:
Action Methods
class Bundle.loadClass
execute Bundle.start
Bundle.stop
StartLevel.setBundleStartLevel
extensionLifecycle BundleContext.installBundle for extension bundles
Bundle.update for extension bundles
Bundle.uninstall for extension bundles
lifecycle BundleContext.installBundle
Bundle.update
Bundle.uninstall
listener BundleContext.addBundleListener for SynchronousBundleListener
BundleContext.removeBundleListener for SynchronousBundleListener
metadata Bundle.getHeaders
Bundle.getLocation
resolve PackageAdmin.refreshPackages
PackageAdmin.resolveBundles
resource Bundle.getResource
Bundle.getResources
Bundle.getEntry
Bundle.getEntryPaths
Bundle.findEntries
Bundle resource/entry URL creation
startlevel StartLevel.setStartLevel
StartLevel.setInitialBundleStartLevel
The special action "*" will represent all actions.
The name of this permission is a filter expression. |
AllServiceListener.java | Interface | A ServiceEvent listener.
AllServiceListener is a listener interface that may be
implemented by a bundle developer.
An AllServiceListener object is registered with the Framework
using the BundleContext.addServiceListener method.
AllServiceListener objects are called with a
ServiceEvent object when a service is registered, modified, or
is in the process of unregistering.
ServiceEvent object delivery to
AllServiceListener objects is filtered by the filter specified
when the listener was registered. |
Bundle.java | Interface | An installed bundle in the Framework.
A Bundle object is the access point to define the lifecycle of
an installed bundle. |
BundleActivator.java | Interface | Customizes the starting and stopping of a bundle.
BundleActivator is an interface that may be implemented when a
bundle is started or stopped. |
BundleContext.java | Interface | A bundle's execution context within the Framework. |
BundleEvent.java | Class | An event from the Framework describing a bundle lifecycle change.
BundleEvent objects are delivered to
BundleListener objects when a change occurs in a bundle's
lifecycle. |
BundleException.java | Class | A Framework exception used to indicate that a bundle lifecycle problem
occurred. |
BundleListener.java | Interface | A BundleEvent listener. |
BundlePermission.java | Class | A bundle's authority to require or provide a bundle or to receive or attach
fragments. |
Configurable.java | Interface | Supports a configuration object.
Configurable is an interface that should be used by a bundle
developer in support of a configurable service. |
Constants.java | Interface | Defines standard names for the OSGi environment property, service property,
and Manifest header attribute keys. |
Filter.java | Interface | An RFC 1960-based Filter. |
FrameworkEvent.java | Class | A general event from the Framework.
FrameworkEvent is the event class used when notifying
listeners of general events occuring within the OSGI environment. |
FrameworkListener.java | Interface | A FrameworkEvent listener. |
FrameworkUtil.java | Class | Framework Utility class. |
InvalidSyntaxException.java | Class | A Framework exception. |
PackagePermission.java | Class | A bundle's authority to import or export a package.
A package is a dot-separated string that defines a fully qualified Java
package.
For example:
org.osgi.service.http
PackagePermission has two actions: EXPORT and
IMPORT . |
ServiceEvent.java | Class | An event from the Framework describing a service lifecycle change.
ServiceEvent objects are delivered to a
ServiceListener objects when a change occurs in this service's
lifecycle. |
ServiceFactory.java | Interface | Allows services to provide customized service objects in the OSGi
environment.
When registering a service, a ServiceFactory object can be
used instead of a service object, so that the bundle developer can gain
control of the specific service object granted to a bundle that is using the
service.
When this happens, the
BundleContext.getService(ServiceReference) method calls the
ServiceFactory.getService method to create a service object
specifically for the requesting bundle. |
ServiceListener.java | Interface | A ServiceEvent listener. |
ServicePermission.java | Class | Indicates a bundle's authority to register or get a service.
- The
ServicePermission.REGISTER action allows a bundle to
register a service on the specified names.
- The
ServicePermission.GET action allows a bundle to
detect a service and get it.
Permission to get a service is required in order to detect events regarding
the service. |
ServiceReference.java | Interface | A reference to a service. |
ServiceRegistration.java | Interface | A registered service. |
SynchronousBundleListener.java | Interface | A synchronous BundleEvent listener. |
Version.java | Class | Version identifier for bundles and packages.
Version identifiers have four components.
- Major version.
|