OSGi™ Service Platform
Release 2
A B C D E F G H I K L M N O P R S T U V W

A

ACTIVE - Static variable in interface org.osgi.framework.Bundle
This bundle is now running.
ADMIN - Static variable in class org.osgi.service.useradmin.UserAdminPermission
The permission name "admin".
ALL - Static variable in interface org.osgi.service.metatype.ObjectClassDefinition
Argument for getAttributeDefinitions(int).
AUTHENTICATION_TYPE - Static variable in interface org.osgi.service.http.HttpContext
HttpServletRequest attribute specifying the scheme used in authentication.
AUTHORIZATION - Static variable in interface org.osgi.service.http.HttpContext
HttpServletRequest attribute specifying the Authorization object obtained from the org.osgi.service.useradmin.UserAdmin service.
AdminPermission - class org.osgi.framework.AdminPermission.
Indicates the caller's authority to perform lifecycle operations on or to get sensitive information about a bundle.
AdminPermission() - Constructor for class org.osgi.framework.AdminPermission
Creates a new AdminPermission object with its name set to "AdminPermission".
AdminPermission(String, String) - Constructor for class org.osgi.framework.AdminPermission
Creates a new AdminPermission object for use by the Policy object to instantiate new Permission objects.
AttributeDefinition - interface org.osgi.service.metatype.AttributeDefinition.
An interface to describe an attribute.
Authorization - interface org.osgi.service.useradmin.Authorization.
The Authorization interface encapsulates an authorization context on which bundles can base authorization decisions, where appropriate.
absolutePath() - Method in interface org.osgi.service.prefs.Preferences
Returns this node's absolute path name.
addBundleListener(BundleListener) - Method in interface org.osgi.framework.BundleContext
Adds the specified BundleListener object to this context bundle's list of listeners if not already present.
addFrameworkListener(FrameworkListener) - Method in interface org.osgi.framework.BundleContext
Adds the specified FrameworkListener object to this context bundle's list of listeners if not already present.
addLogListener(LogListener) - Method in interface org.osgi.service.log.LogReaderService
Subscribes to LogEntry objects.
addMember(Role) - Method in interface org.osgi.service.useradmin.Group
Adds the specified Role object as a basic member to this Group object.
addRequiredMember(Role) - Method in interface org.osgi.service.useradmin.Group
Adds the specified Role object as a required member to this Group object.
addServiceListener(ServiceListener, String) - Method in interface org.osgi.framework.BundleContext
Adds the specified ServiceListener object with the specified filter to this context bundle's list of listeners.
addServiceListener(ServiceListener) - Method in interface org.osgi.framework.BundleContext
Adds the specified ServiceListener object to this context bundle's list of listeners.
addingService(ServiceReference) - Method in class org.osgi.util.tracker.ServiceTracker
Default implementation of the ServiceTrackerCustomizer.addingService method.
addingService(ServiceReference) - Method in interface org.osgi.util.tracker.ServiceTrackerCustomizer
A service is being added to the ServiceTracker object.
attach(ServiceReference) - Method in interface org.osgi.service.device.Driver
Attaches this Driver service to the Device service represented by the given ServiceReference object.

B

BIGDECIMAL - Static variable in interface org.osgi.service.metatype.AttributeDefinition
The BIGDECIMAL(10) type.
BIGINTEGER - Static variable in interface org.osgi.service.metatype.AttributeDefinition
The BIGINTEGER(9) type.
BOOLEAN - Static variable in interface org.osgi.service.metatype.AttributeDefinition
The BOOLEAN(11) type.
BUNDLE_ACTIVATOR - Static variable in interface org.osgi.framework.Constants
Manifest header attribute (named "Bundle-Activator") identifying the bundle's activator class.
BUNDLE_CATEGORY - Static variable in interface org.osgi.framework.Constants
Manifest header (named "Bundle-Category") identifying the bundle's category.
BUNDLE_CLASSPATH - Static variable in interface org.osgi.framework.Constants
Manifest header (named "Bundle-ClassPath") identifying a list of nested JAR files, which are bundle resources used to extend the bundle's classpath.
BUNDLE_CONTACTADDRESS - Static variable in interface org.osgi.framework.Constants
Manifest header (named "Bundle-ContactAddress") identifying the contact address where problems with the bundle may be reported; for example, an email address.
BUNDLE_COPYRIGHT - Static variable in interface org.osgi.framework.Constants
Manifest header (named "Bundle-Copyright") identifying the bundle's copyright information, which may be retrieved from the Dictionary object returned by the Bundle.getHeaders method.
BUNDLE_DESCRIPTION - Static variable in interface org.osgi.framework.Constants
Manifest header (named "Bundle-Description") containing a brief description of the bundle's functionality.
BUNDLE_DOCURL - Static variable in interface org.osgi.framework.Constants
Manifest header (named "Bundle-DocURL") identifying the bundle's documentation URL, from which further information about the bundle may be obtained.
BUNDLE_NAME - Static variable in interface org.osgi.framework.Constants
Manifest header (named "Bundle-Name") identifying the bundle's name.
BUNDLE_NATIVECODE - Static variable in interface org.osgi.framework.Constants
Manifest header (named "Bundle-NativeCode") identifying a number of hardware environments and the native language code libraries that the bundle is carrying for each of these environments.
BUNDLE_NATIVECODE_LANGUAGE - Static variable in interface org.osgi.framework.Constants
Manifest header attribute (named "language") identifying the language in which the native bundle code is written specified in the Bundle-NativeCode Manifest header).
BUNDLE_NATIVECODE_OSNAME - Static variable in interface org.osgi.framework.Constants
Manifest header attribute (named "osname") identifying the operating system required to run native bundle code specified in the Bundle-NativeCode Manifest header).
BUNDLE_NATIVECODE_OSVERSION - Static variable in interface org.osgi.framework.Constants
Manifest header attribute (named "osversion") identifying the operating system version required to run native bundle code specified in the Bundle-NativeCode Manifest header).
BUNDLE_NATIVECODE_PROCESSOR - Static variable in interface org.osgi.framework.Constants
Manifest header attribute (named "processor") identifying the processor required to run native bundle code specified in the Bundle-NativeCode Manifest header).
BUNDLE_UPDATELOCATION - Static variable in interface org.osgi.framework.Constants
Manifest header (named "Bundle-UpdateLocation") identifying the location from which a new bundle version is obtained during a bundle update operation.
BUNDLE_VENDOR - Static variable in interface org.osgi.framework.Constants
Manifest header (named "Bundle-Vendor") identifying the bundle's vendor.
BUNDLE_VERSION - Static variable in interface org.osgi.framework.Constants
Manifest header (named "Bundle-Version") identifying the bundle's version.
BYTE - Static variable in interface org.osgi.service.metatype.AttributeDefinition
The BYTE(6) type.
BackingStoreException - exception org.osgi.service.prefs.BackingStoreException.
Thrown to indicate that a preferences operation could not complete because of a failure in the backing store, or a failure to contact the backing store.
BackingStoreException(String) - Constructor for class org.osgi.service.prefs.BackingStoreException
Constructs a BackingStoreException with the specified detail message.
Bundle - interface org.osgi.framework.Bundle.
An installed bundle in the Framework.
BundleActivator - interface org.osgi.framework.BundleActivator.
Customizes the starting and stopping of this bundle.
BundleContext - interface org.osgi.framework.BundleContext.
A bundle's execution context within the Framework.
BundleEvent - class org.osgi.framework.BundleEvent.
A Framework event describing a bundle lifecycle change.
BundleEvent(int, Bundle) - Constructor for class org.osgi.framework.BundleEvent
Creates a bundle event of the specified type.
BundleException - exception org.osgi.framework.BundleException.
A Framework exception used to indicate that a bundle lifecycle problem occurred.
BundleException(String, Throwable) - Constructor for class org.osgi.framework.BundleException
Creates a BundleException that wraps another exception.
BundleException(String) - Constructor for class org.osgi.framework.BundleException
Creates a BundleException object with the specified message.
BundleListener - interface org.osgi.framework.BundleListener.
A BundleEvent listener.
bundleChanged(BundleEvent) - Method in interface org.osgi.framework.BundleListener
Receives notification that a bundle has had a lifecycle change.

C

CHANGE_CREDENTIAL - Static variable in class org.osgi.service.useradmin.UserAdminPermission
The action string "changeCredential".
CHANGE_PROPERTY - Static variable in class org.osgi.service.useradmin.UserAdminPermission
The action string "changeProperty".
CHARACTER - Static variable in interface org.osgi.service.metatype.AttributeDefinition
The CHARACTER(5) type.
CM_TARGET - Static variable in interface org.osgi.service.cm.ConfigurationPlugin
A service property to limit the Managed Service or Managed Service Factory configuration dictionaries a Configuration Plugin service receives.
Configurable - interface org.osgi.framework.Configurable.
Supports a configuration object.
Configuration - interface org.osgi.service.cm.Configuration.
The configuration information for a ManagedService or ManagedServiceFactory object.
ConfigurationAdmin - interface org.osgi.service.cm.ConfigurationAdmin.
Service for administering configuration data.
ConfigurationException - exception org.osgi.service.cm.ConfigurationException.
An Exception class to inform the Configuration Admin service of problems with configuration data.
ConfigurationException(String, String) - Constructor for class org.osgi.service.cm.ConfigurationException
Create a ConfigurationException object.
ConfigurationPlugin - interface org.osgi.service.cm.ConfigurationPlugin.
A service interface for processing configuration dictionary before the update.
Constants - interface org.osgi.framework.Constants.
Defines standard names for the OSGi environment property, service property, and Manifest header attribute keys.
Constants - interface org.osgi.service.device.Constants.
This interface defines standard names for property keys associated with Device and Driverservices.
childrenNames() - Method in interface org.osgi.service.prefs.Preferences
Returns the names of the children of this node.
clear() - Method in interface org.osgi.service.prefs.Preferences
Removes all of the properties (key-value associations) in this node.
close() - Method in class org.osgi.util.tracker.ServiceTracker
Close this ServiceTracker object.
context - Variable in class org.osgi.util.tracker.ServiceTracker
Bundle context this ServiceTracker object is tracking against.
createDefaultHttpContext() - Method in interface org.osgi.service.http.HttpService
Creates a default HttpContext for registering servlets or resources with the HttpService, a new HttpContext object is created each time this method is called.
createFactoryConfiguration(String) - Method in interface org.osgi.service.cm.ConfigurationAdmin
Create a new factory Configuration object with a new PID.
createFactoryConfiguration(String, String) - Method in interface org.osgi.service.cm.ConfigurationAdmin
Create a new factory Configuration object with a new PID.
createFilter(String) - Method in interface org.osgi.framework.BundleContext
Creates a Filter object.
createRole(String, int) - Method in interface org.osgi.service.useradmin.UserAdmin
Creates a Role object with the given name and of the given type.

D

DEVICE_CATEGORY - Static variable in interface org.osgi.service.device.Constants
Property (named "DEVICE_CATEGORY") containing a human readable description of the device categories implemented by a device.
DEVICE_DESCRIPTION - Static variable in interface org.osgi.service.device.Constants
Property (named "DEVICE_DESCRIPTION") containing a human readable string describing the actual hardware device.
DEVICE_SERIAL - Static variable in interface org.osgi.service.device.Constants
Property (named "DEVICE_SERIAL") specifying a device's serial number.
DOUBLE - Static variable in interface org.osgi.service.metatype.AttributeDefinition
The DOUBLE(7) type.
DRIVER_ID - Static variable in interface org.osgi.service.device.Constants
Property (named "DRIVER_ID") identifying a driver.
Device - interface org.osgi.service.device.Device.
Interface for identifying device services.
Driver - interface org.osgi.service.device.Driver.
A Driver service object must be registered by each Driver bundle wishing to attach to Device services provided by other drivers.
DriverLocator - interface org.osgi.service.device.DriverLocator.
A Driver Locator service can find and load device driver bundles given a property set.
DriverSelector - interface org.osgi.service.device.DriverSelector.
When the device manager detects a new Device service, it calls all registered Driver services to determine if anyone matches the Device service.
delete() - Method in interface org.osgi.service.cm.Configuration
Delete this Configuration object.
deleted(String) - Method in interface org.osgi.service.cm.ManagedServiceFactory
Remove a factory instance.

E

ERROR - Static variable in class org.osgi.framework.FrameworkEvent
An error has occurred.
EXPORT - Static variable in class org.osgi.framework.PackagePermission
The action string EXPORT.
EXPORT_PACKAGE - Static variable in interface org.osgi.framework.Constants
Manifest header (named "Export-Package") identifying the names (and optionally version numbers) of the packages that the bundle offers to the Framework for export.
EXPORT_SERVICE - Static variable in interface org.osgi.framework.Constants
Manifest header (named "Export-Service") identifying the fully qualified class names of the services that the bundle may register (used for informational purposes only).
ExportedPackage - interface org.osgi.service.packageadmin.ExportedPackage.
An exported package.
equals(Object) - Method in class org.osgi.framework.AdminPermission
Determines the equality of two AdminPermission objects.
equals(Object) - Method in interface org.osgi.framework.Filter
Compares this Filter object to another object.
equals(Object) - Method in class org.osgi.framework.PackagePermission
Determines the equality of two PackagePermission objects.
equals(Object) - Method in class org.osgi.framework.ServicePermission
Determines the equalty of two ServicePermission objects.
equals(Object) - Method in class org.osgi.service.permissionadmin.PermissionInfo
Determines the equality of two PermissionInfo objects.
equals(Object) - Method in class org.osgi.service.useradmin.UserAdminPermission
Checks two UserAdminPermission objects for equality.

F

FLOAT - Static variable in interface org.osgi.service.metatype.AttributeDefinition
The FLOAT(8) type.
FRAMEWORK_LANGUAGE - Static variable in interface org.osgi.framework.Constants
Framework environment property (named "org.osgi.framework.language") identifying the Framework implementation language (see ISO 639 for possible values).
FRAMEWORK_OS_NAME - Static variable in interface org.osgi.framework.Constants
Framework environment property (named "org.osgi.framework.os.name") identifying the Framework host-computer's operating system.
FRAMEWORK_OS_VERSION - Static variable in interface org.osgi.framework.Constants
Framework environment property (named "org.osgi.framework.os.version") identifying the Framework host-computer's operating system version number.
FRAMEWORK_PROCESSOR - Static variable in interface org.osgi.framework.Constants
Framework environment property (named "org.osgi.framework.processor") identifying the Framework host-computer's processor name.
FRAMEWORK_VENDOR - Static variable in interface org.osgi.framework.Constants
Framework environment property (named "org.osgi.framework.vendor") identifying the Framework implementation vendor.
FRAMEWORK_VERSION - Static variable in interface org.osgi.framework.Constants
Framework environment property (named "org.osgi.framework.version") identifying the Framework version.
Filter - interface org.osgi.framework.Filter.
An RFC 1960-based Filter.
FrameworkEvent - class org.osgi.framework.FrameworkEvent.
A general Framework event.
FrameworkEvent(int, Object) - Constructor for class org.osgi.framework.FrameworkEvent
Creates a Framework event.
FrameworkEvent(int, Bundle, Throwable) - Constructor for class org.osgi.framework.FrameworkEvent
Creates a Framework event with a related bundle and exception.
FrameworkListener - interface org.osgi.framework.FrameworkListener.
A FrameworkEvent listener.
filter - Variable in class org.osgi.util.tracker.ServiceTracker
Filter specifying search criteria for the services to track.
finalize() - Method in class org.osgi.util.tracker.ServiceTracker
Properly close this ServiceTracker object when finalized.
findDrivers(Dictionary) - Method in interface org.osgi.service.device.DriverLocator
Returns an array of DRIVER_ID strings of drivers capable of attaching to a device with the given properties.
flush() - Method in interface org.osgi.service.prefs.Preferences
Forces any changes in the contents of this node and its descendants to the persistent store.
frameworkEvent(FrameworkEvent) - Method in interface org.osgi.framework.FrameworkListener
Receives notification of a general FrameworkEvent object.

G

GET - Static variable in class org.osgi.framework.ServicePermission
The action string get (Value is "get").
GET_CREDENTIAL - Static variable in class org.osgi.service.useradmin.UserAdminPermission
The action string "getCredential".
GROUP - Static variable in interface org.osgi.service.useradmin.Role
The type of a Grouprole.
Group - interface org.osgi.service.useradmin.Group.
A named grouping of roles (Role objects).
get(String, String) - Method in interface org.osgi.service.prefs.Preferences
Returns the value associated with the specified key in this node.
getActions() - Method in class org.osgi.framework.PackagePermission
Returns the canonical string representation of the PackagePermission actions.
getActions() - Method in class org.osgi.framework.ServicePermission
Returns the canonical string representation of the actions.
getActions() - Method in class org.osgi.service.permissionadmin.PermissionInfo
Returns the actions of the permission represented by this PermissionInfo.
getActions() - Method in class org.osgi.service.useradmin.UserAdminPermission
Returns the canonical string representation of the actions, separated by comma.
getAttributeDefinitions(int) - Method in interface org.osgi.service.metatype.ObjectClassDefinition
Return the attribute definitions.
getAuthorization(User) - Method in interface org.osgi.service.useradmin.UserAdmin
Creates an Authorization object that encapsulates the specified User object and the Role objects it possesses.
getBoolean(String, boolean) - Method in interface org.osgi.service.prefs.Preferences
Returns the boolean value represented by the String object associated with the specified key in this node.
getBundle() - Method in interface org.osgi.framework.BundleContext
Returns the Bundle object for this context bundle.
getBundle(long) - Method in interface org.osgi.framework.BundleContext
Returns the bundle with the specified identifier.
getBundle() - Method in class org.osgi.framework.BundleEvent
Returns the bundle which had a lifecycle change.
getBundle() - Method in class org.osgi.framework.FrameworkEvent
Returns the bundle associated with the event.
getBundle() - Method in interface org.osgi.framework.ServiceReference
Returns the bundle that registered the service referenced by this ServiceReference object.
getBundle() - Method in interface org.osgi.service.log.LogEntry
Returns the bundle that created this LogEntry object.
getBundleId() - Method in interface org.osgi.framework.Bundle
Returns this bundle's identifier.
getBundleLocation() - Method in interface org.osgi.service.cm.Configuration
Get the bundle location.
getBundles() - Method in interface org.osgi.framework.BundleContext
Returns a list of all installed bundles.
getByteArray(String, byte[]) - Method in interface org.osgi.service.prefs.Preferences
Returns the byte[] value represented by the String object associated with the specified key in this node.
getCardinality() - Method in interface org.osgi.service.metatype.AttributeDefinition
Return the cardinality of this attribute.
getConfiguration(String, String) - Method in interface org.osgi.service.cm.ConfigurationAdmin
Get an existing Configuration object from the persistent store, or create a new Configuration object.
getConfiguration(String) - Method in interface org.osgi.service.cm.ConfigurationAdmin
Get an existing or new Configuration object from the persistent store.
getConfigurationObject() - Method in interface org.osgi.framework.Configurable
Returns this service's configuration object.
getCredentials() - Method in interface org.osgi.service.useradmin.User
Returns a Dictionary of the credentials of this User object.
getDataFile(String) - Method in interface org.osgi.framework.BundleContext
Creates a File object for a file in the persistent storage area provided for the bundle by the Framework.
getDefaultPermissions() - Method in interface org.osgi.service.permissionadmin.PermissionAdmin
Gets the default permissions.
getDefaultValue() - Method in interface org.osgi.service.metatype.AttributeDefinition
Return a default for this attribute.
getDescription() - Method in interface org.osgi.service.metatype.AttributeDefinition
Return a description of this attribute.
getDescription() - Method in interface org.osgi.service.metatype.ObjectClassDefinition
Return a description of this object class.
getDouble(String, double) - Method in interface org.osgi.service.prefs.Preferences
Returns the double value represented by the String object associated with the specified key in this node.
getDriver() - Method in interface org.osgi.service.device.Match
Return the reference to a Driver service.
getEncoded() - Method in class org.osgi.service.permissionadmin.PermissionInfo
Returns the string encoding of this PermissionInfo in a form suitable for restoring this PermissionInfo.
getException() - Method in class org.osgi.service.http.NamespaceException
Returns the nested exception.
getException() - Method in interface org.osgi.service.log.LogEntry
Returns the exception object associated with this LogEntry object.
getExportedPackage(String) - Method in interface org.osgi.service.packageadmin.PackageAdmin
Gets the ExportedPackage object with the specified package name.
getExportedPackages(Bundle) - Method in interface org.osgi.service.packageadmin.PackageAdmin
Gets the packages exported by the specified bundle.
getExportingBundle() - Method in interface org.osgi.service.packageadmin.ExportedPackage
Returns the bundle exporting the package associated with this ExportedPackage object.
getFactoryPid() - Method in interface org.osgi.service.cm.Configuration
For a factory configuration return the PID of the corresponding Managed Service Factory, else return null.
getFilter() - Method in class org.osgi.framework.InvalidSyntaxException
Returns the filter string that generated the InvalidSyntaxException object.
getFloat(String, float) - Method in interface org.osgi.service.prefs.Preferences
Returns the float value represented by the String object associated with the specified key in this node.
getHeaders() - Method in interface org.osgi.framework.Bundle
Returns this bundle's Manifest headers and values.
getID() - Method in interface org.osgi.service.metatype.AttributeDefinition
Unique identity for this attribute.
getID() - Method in interface org.osgi.service.metatype.ObjectClassDefinition
Return the id of this object class.
getIcon(int) - Method in interface org.osgi.service.metatype.ObjectClassDefinition
Return an InputStream object that can be used to create an icon from.
getImportingBundles() - Method in interface org.osgi.service.packageadmin.ExportedPackage
Returns the resolved bundles that are currently importing the package associated with this ExportedPackage object.
getInt(String, int) - Method in interface org.osgi.service.prefs.Preferences
Returns the int value represented by the String object associated with the specified key in this node.
getLevel() - Method in interface org.osgi.service.log.LogEntry
Returns the severity level of this LogEntry object.
getLocales() - Method in interface org.osgi.service.metatype.MetaTypeProvider
Return a list of locales available or null if only 1 The return parameter must be a name that consists of language [ _ country [ _ variation ]] as is customary in the Locale class.
getLocation() - Method in interface org.osgi.framework.Bundle
Returns this bundle's location identifier.
getLocations() - Method in interface org.osgi.service.permissionadmin.PermissionAdmin
Returns the bundle locations that have permissions assigned to them, that is, bundle locations for which an entry exists in the permission table.
getLog() - Method in interface org.osgi.service.log.LogReaderService
Returns an Enumeration of all LogEntry objects in the log.
getLong(String, long) - Method in interface org.osgi.service.prefs.Preferences
Returns the long value represented by the String object associated with the specified key in this node.
getMatchValue() - Method in interface org.osgi.service.device.Match
Return the match value of this object.
getMembers() - Method in interface org.osgi.service.useradmin.Group
Gets the basic members of this Group object.
getMessage() - Method in interface org.osgi.service.log.LogEntry
Returns the human readable message associated with this LogEntry object.
getMimeType(String) - Method in interface org.osgi.service.http.HttpContext
Maps a name to a MIME type.
getName() - Method in interface org.osgi.service.cm.ManagedServiceFactory
Return a descriptive name of this factory.
getName() - Method in interface org.osgi.service.metatype.AttributeDefinition
Get the name of the attribute.
getName() - Method in interface org.osgi.service.metatype.ObjectClassDefinition
Return the name of this class.
getName() - Method in interface org.osgi.service.packageadmin.ExportedPackage
Returns the name of the package associated with this ExportedPackage object.
getName() - Method in class org.osgi.service.permissionadmin.PermissionInfo
Returns the name of the permission represented by this PermissionInfo.
getName() - Method in interface org.osgi.service.useradmin.Authorization
Gets the name of the Userthat this Authorization context was created for.
getName() - Method in interface org.osgi.service.useradmin.Role
Returns the name of this role.
getNestedException() - Method in class org.osgi.framework.BundleException
Returns any nested exceptions included in this exception.
getObjectClassDefinition(String, String) - Method in interface org.osgi.service.metatype.MetaTypeProvider
Return the definition of this object class for a locale.
getOptionLabels() - Method in interface org.osgi.service.metatype.AttributeDefinition
Return a list of labels of option values.
getOptionValues() - Method in interface org.osgi.service.metatype.AttributeDefinition
Return a list of option values that this attribute can take.
getPermissions(String) - Method in interface org.osgi.service.permissionadmin.PermissionAdmin
Gets the permissions assigned to the bundle with the specified location.
getPid() - Method in interface org.osgi.service.cm.Configuration
Get the PID for this Configuration object.
getProperties() - Method in interface org.osgi.service.cm.Configuration
Return the properties of this Configuration object.
getProperties() - Method in interface org.osgi.service.useradmin.Role
Returns a Dictionary of the (public) properties of this Role object.
getProperty(String) - Method in interface org.osgi.framework.BundleContext
Returns the value of the specified environment property.
getProperty(String) - Method in interface org.osgi.framework.ServiceReference
Returns the property value to which the specified property key is mapped in the properties Dictionary object of the service referenced by this ServiceReference object.
getProperty() - Method in class org.osgi.service.cm.ConfigurationException
Return the property name that caused the failure or null.
getPropertyKeys() - Method in interface org.osgi.framework.ServiceReference
Returns an array of the keys in the properties Dictionary object of the service referenced by this ServiceReference object.
getReason() - Method in class org.osgi.service.cm.ConfigurationException
Return the reason for this exception.
getReference() - Method in interface org.osgi.framework.ServiceRegistration
Returns a ServiceReference object for a service being registered.
getRegisteredServices() - Method in interface org.osgi.framework.Bundle
Returns this bundle's ServiceReference list for all services it has registered or null if this bundle has no registered services.
getRequiredMembers() - Method in interface org.osgi.service.useradmin.Group
Gets the required members of this Group object.
getResource(String) - Method in interface org.osgi.framework.Bundle
Find the specified resource in this bundle.
getResource(String) - Method in interface org.osgi.service.http.HttpContext
Maps a resource name to a URL.
getRole(String) - Method in interface org.osgi.service.useradmin.UserAdmin
Gets the Role object with the given name from this User Admin service.
getRole() - Method in class org.osgi.service.useradmin.UserAdminEvent
Gets the Role object this event was generated for.
getRoles() - Method in interface org.osgi.service.useradmin.Authorization
Gets the names of all roles encapsulated by this Authorization context.
getRoles(String) - Method in interface org.osgi.service.useradmin.UserAdmin
Gets the Role objects managed by this User Admin service that have properties matching the specified LDAP filter criteria.
getService(ServiceReference) - Method in interface org.osgi.framework.BundleContext
Returns the specified service object for a service.
getService(Bundle, ServiceRegistration) - Method in interface org.osgi.framework.ServiceFactory
Creates a new service object.
getService(ServiceReference) - Method in class org.osgi.util.tracker.ServiceTracker
Returns the service object for the specified ServiceReference object if the referenced service is being tracked by this ServiceTracker object.
getService() - Method in class org.osgi.util.tracker.ServiceTracker
Returns a service object for one of the services being tracked by this ServiceTracker object.
getServiceReference(String) - Method in interface org.osgi.framework.BundleContext
Returns a ServiceReference object for a service that implements, and was registered under, the specified class.
getServiceReference() - Method in class org.osgi.framework.ServiceEvent
Returns a reference to the service that had a change occur in its lifecycle.
getServiceReference() - Method in interface org.osgi.service.log.LogEntry
Returns the ServiceReference object for the service associated with this LogEntry object.
getServiceReference() - Method in class org.osgi.service.useradmin.UserAdminEvent
Gets the ServiceReference object of the User Admin service that generated this event.
getServiceReference() - Method in class org.osgi.util.tracker.ServiceTracker
Returns a ServiceReference object for one of the services being tracked by this ServiceTracker object.
getServiceReferences(String, String) - Method in interface org.osgi.framework.BundleContext
Returns a list of ServiceReference objects.
getServiceReferences() - Method in class org.osgi.util.tracker.ServiceTracker
Return an array of ServiceReference objects for all services being tracked by this ServiceTracker object.
getServices() - Method in class org.osgi.util.tracker.ServiceTracker
Return an array of service objects for all services being tracked by this ServiceTracker object.
getServicesInUse() - Method in interface org.osgi.framework.Bundle
Returns this bundle's ServiceReference list for all services it is using or returns null if this bundle is not using any services.
getSpecificationVersion() - Method in interface org.osgi.service.packageadmin.ExportedPackage
Returns the specification version of this ExportedPackage, as specified in the exporting bundle's manifest file.
getState() - Method in interface org.osgi.framework.Bundle
Returns this bundle's current state.
getSystemPreferences() - Method in interface org.osgi.service.prefs.PreferencesService
Returns the root system node for the calling bundle.
getThrowable() - Method in class org.osgi.framework.FrameworkEvent
Returns the exception associated with the event.
getTime() - Method in interface org.osgi.service.log.LogEntry
Returns the value of currentTimeMillis() at the time this LogEntry object was created.
getType() - Method in class org.osgi.framework.BundleEvent
Returns the type of lifecyle event.
getType() - Method in class org.osgi.framework.FrameworkEvent
Returns the type of bundle state change.
getType() - Method in class org.osgi.framework.ServiceEvent
Returns the type of event.
getType() - Method in interface org.osgi.service.metatype.AttributeDefinition
Return the type for this attribute.
getType() - Method in class org.osgi.service.permissionadmin.PermissionInfo
Returns the fully qualified class name of the permission represented by this PermissionInfo.
getType() - Method in interface org.osgi.service.useradmin.Role
Returns the type of this role.
getType() - Method in class org.osgi.service.useradmin.UserAdminEvent
Returns the type of this event.
getUser(String, String) - Method in interface org.osgi.service.useradmin.UserAdmin
Gets the user with the given property key-value pair from the User Admin service database.
getUserPreferences(String) - Method in interface org.osgi.service.prefs.PreferencesService
Returns the root node for the specified user and the calling bundle.
getUsers() - Method in interface org.osgi.service.prefs.PreferencesService
Returns the names of users for which node trees exist.
getUsingBundles() - Method in interface org.osgi.framework.ServiceReference
Returns the bundles that are using the service referenced by this ServiceReference object.

H

HttpContext - interface org.osgi.service.http.HttpContext.
This interface defines methods that the Http Service may call to get information about a registration.
HttpService - interface org.osgi.service.http.HttpService.
The Http Service allows other bundles in the OSGi environment to dynamically register resources and servlets into the URI namespace of Http Service.
handleSecurity(HttpServletRequest, HttpServletResponse) - Method in interface org.osgi.service.http.HttpContext
Handles security for the specified request.
hasCredential(String, Object) - Method in interface org.osgi.service.useradmin.User
Checks to see if this User object has a credential with the specified key set to the specified value.
hasPermission(Object) - Method in interface org.osgi.framework.Bundle
Determines if this bundle has the specified permissions.
hasRole(String) - Method in interface org.osgi.service.useradmin.Authorization
Checks if the role with the specified name is implied by this Authorization context.
hashCode() - Method in interface org.osgi.framework.Filter
Returns the hashCode for this Filter object.
hashCode() - Method in class org.osgi.framework.PackagePermission
Returns the hash code value for this object.
hashCode() - Method in class org.osgi.framework.ServicePermission
Returns the hash code value for this object.
hashCode() - Method in class org.osgi.service.permissionadmin.PermissionInfo
Returns the hash code value for this object.
hashCode() - Method in class org.osgi.service.useradmin.UserAdminPermission
Returns the hash code of this UserAdminPermission object.

I

IMPORT - Static variable in class org.osgi.framework.PackagePermission
The action string IMPORT.
IMPORT_PACKAGE - Static variable in interface org.osgi.framework.Constants
Manifest header (named "Import-Package") identifying the names (and optionally, version numbers) of the packages that the bundle is dependent on.
IMPORT_SERVICE - Static variable in interface org.osgi.framework.Constants
Manifest header (named "Import-Service") identifying the fully qualified class names of the services that the bundle requires (used for informational purposes only).
INSTALLED - Static variable in interface org.osgi.framework.Bundle
This bundle is installed but not yet resolved.
INSTALLED - Static variable in class org.osgi.framework.BundleEvent
This bundle has been installed.
INTEGER - Static variable in interface org.osgi.service.metatype.AttributeDefinition
The INTEGER(3) type.
InvalidSyntaxException - exception org.osgi.framework.InvalidSyntaxException.
A Framework exception.
InvalidSyntaxException(String, String) - Constructor for class org.osgi.framework.InvalidSyntaxException
Creates an exception of type InvalidSyntaxException.
implies(Permission) - Method in class org.osgi.framework.AdminPermission
Determines if the specified permission is implied by this object.
implies(Permission) - Method in class org.osgi.framework.PackagePermission
Determines if the specified permission is implied by this object.
implies(Permission) - Method in class org.osgi.framework.ServicePermission
Determines if a ServicePermission object "implies" the specified permission.
implies(Permission) - Method in class org.osgi.service.useradmin.UserAdminPermission
Checks if this UserAdminPermission object "implies" the specified permission.
installBundle(String) - Method in interface org.osgi.framework.BundleContext
Installs the bundle from the specified location string.
installBundle(String, InputStream) - Method in interface org.osgi.framework.BundleContext
Installs the bundle from the specified InputStream object.
isRemovalPending() - Method in interface org.osgi.service.packageadmin.ExportedPackage
Returns true if the package associated with this ExportedPackage object has been exported by a bundle that has been updated or uninstalled.

K

keys() - Method in interface org.osgi.service.prefs.Preferences
Returns all of the keys that have an associated value in this node.

L

LOG_DEBUG - Static variable in interface org.osgi.service.log.LogService
A debugging message (Value 4).
LOG_ERROR - Static variable in interface org.osgi.service.log.LogService
An error message (Value 1).
LOG_INFO - Static variable in interface org.osgi.service.log.LogService
An informational message (Value 3).
LOG_WARNING - Static variable in interface org.osgi.service.log.LogService
A warning message (Value 2).
LONG - Static variable in interface org.osgi.service.metatype.AttributeDefinition
The LONG(2) type.
LogEntry - interface org.osgi.service.log.LogEntry.
Provides methods to access the information contained in an individual Log Service log entry.
LogListener - interface org.osgi.service.log.LogListener.
Subscribes to LogEntry objects from the LogReaderService.
LogReaderService - interface org.osgi.service.log.LogReaderService.
Provides methods to retrieve LogEntry objects from the log.
LogService - interface org.osgi.service.log.LogService.
Provides methods for bundles to write messages to the log.
listConfigurations(String) - Method in interface org.osgi.service.cm.ConfigurationAdmin
List the current Configuration objects which match the filter.
loadDriver(String) - Method in interface org.osgi.service.device.DriverLocator
Get an InputStream from which the driver bundle providing a driver with the giving DRIVER_ID can be installed.
log(int, String) - Method in interface org.osgi.service.log.LogService
Logs a message.
log(int, String, Throwable) - Method in interface org.osgi.service.log.LogService
Logs a message with an exception.
log(ServiceReference, int, String) - Method in interface org.osgi.service.log.LogService
Logs a message associated with a specific ServiceReference object.
log(ServiceReference, int, String, Throwable) - Method in interface org.osgi.service.log.LogService
Logs a message with an exception associated and a ServiceReference object.
logged(LogEntry) - Method in interface org.osgi.service.log.LogListener
Listener method called for each LogEntry object created.

M

MATCH_NONE - Static variable in interface org.osgi.service.device.Device
Return value from Driver.Driver.match(org.osgi.framework.ServiceReference)indicating that the driver cannot refine the device presented to it by the device manager.
MODIFIED - Static variable in class org.osgi.framework.ServiceEvent
The properties of a registered service have been modified.
ManagedService - interface org.osgi.service.cm.ManagedService.
A service that can receive configuration data from a Configuration Admin service.
ManagedServiceFactory - interface org.osgi.service.cm.ManagedServiceFactory.
Manage multiple service instances.
Match - interface org.osgi.service.device.Match.
Instances of Match are used in the DriverSelector.select(org.osgi.framework.ServiceReference, org.osgi.service.device.Match[])method to identify Driver services matching a Device service.
MetaTypeProvider - interface org.osgi.service.metatype.MetaTypeProvider.
Provides access to metatypes.
match(ServiceReference) - Method in interface org.osgi.framework.Filter
Filter using a service's properties.
match(Dictionary) - Method in interface org.osgi.framework.Filter
Filter using a Dictionary object.
match(ServiceReference) - Method in interface org.osgi.service.device.Driver
Checks whether this Driver service can be attached to the Device service represented by the given ServiceReferenceand returns a value indicating how well this driver can support the given Device service, or Device.Device.MATCH_NONEif it cannot support the given Device service at all.
modifiedService(ServiceReference, Object) - Method in class org.osgi.util.tracker.ServiceTracker
Default implementation of the ServiceTrackerCustomizer.modifiedService method.
modifiedService(ServiceReference, Object) - Method in interface org.osgi.util.tracker.ServiceTrackerCustomizer
A service tracked by the ServiceTracker object has been modified.
modifyConfiguration(ServiceReference, Dictionary) - Method in interface org.osgi.service.cm.ConfigurationPlugin
View and possibly modify the a set of configuration properties before they are sent to the Managed Service or the Managed Service Factory.

N

NamespaceException - exception org.osgi.service.http.NamespaceException.
A NamespaceException is thrown to indicate an error with the caller's request to register a servlet or resources into the URI namespace of the Http Service.
NamespaceException(String) - Constructor for class org.osgi.service.http.NamespaceException
Construct a NamespaceException object with a detail message.
NamespaceException(String, Throwable) - Constructor for class org.osgi.service.http.NamespaceException
Construct a NamespaceException object with a detail message and a nested exception.
name() - Method in interface org.osgi.service.prefs.Preferences
Returns this node's name, relative to its parent.
newPermissionCollection() - Method in class org.osgi.framework.AdminPermission
Returns a new PermissionCollection object suitable for storing AdminPermissions.
newPermissionCollection() - Method in class org.osgi.framework.PackagePermission
Returns a new PermissionCollection object suitable for storing PackagePermission objects.
newPermissionCollection() - Method in class org.osgi.framework.ServicePermission
Returns a new PermissionCollection object for storing ServicePermission objects.
newPermissionCollection() - Method in class org.osgi.service.useradmin.UserAdminPermission
Returns a new PermissionCollection object for storing UserAdminPermission objects.
noDriverFound() - Method in interface org.osgi.service.device.Device
Indicates to this Device object that the device manager has failed to attach any drivers to it.
node(String) - Method in interface org.osgi.service.prefs.Preferences
Returns a named Preferences object (node), creating it and any of its ancestors if they do not already exist.
nodeExists(String) - Method in interface org.osgi.service.prefs.Preferences
Returns true if the named node exists.

O

OBJECTCLASS - Static variable in interface org.osgi.framework.Constants
Service property (named "objectClass") identifying all of the class names under which a service was registered in the Framework.
OPTIONAL - Static variable in interface org.osgi.service.metatype.ObjectClassDefinition
Argument for getAttributeDefinitions(int).
ObjectClassDefinition - interface org.osgi.service.metatype.ObjectClassDefinition.
Description for the data type information of an objectclass.
open() - Method in class org.osgi.util.tracker.ServiceTracker
Open this ServiceTracker object and begin tracking services.
org.osgi.framework - package org.osgi.framework
The OSGi Framework Package.
org.osgi.service.cm - package org.osgi.service.cm
The OSGi Configuration Admin service Package.
org.osgi.service.device - package org.osgi.service.device
The OSGi Device Access Package.
org.osgi.service.http - package org.osgi.service.http
The OSGi Http Service Package.
org.osgi.service.log - package org.osgi.service.log
The OSGi Log Service Package.
org.osgi.service.metatype - package org.osgi.service.metatype
The OSGi Metatype Package.
org.osgi.service.packageadmin - package org.osgi.service.packageadmin
The OSGi Package Admin service Package.
org.osgi.service.permissionadmin - package org.osgi.service.permissionadmin
The OSGi Permission Admin service Package.
org.osgi.service.prefs - package org.osgi.service.prefs
The OSGi Preferences Service Package.
org.osgi.service.useradmin - package org.osgi.service.useradmin
The OSGi User Admin service Package.
org.osgi.util.tracker - package org.osgi.util.tracker
The OSGi Service Tracker Package.

P

PACKAGE_SPECIFICATION_VERSION - Static variable in interface org.osgi.framework.Constants
Manifest header attribute (named "specification-version") identifying the version of a package specified in the Export-Package or Import-Package Manifest header.
PackageAdmin - interface org.osgi.service.packageadmin.PackageAdmin.
Framework service which allows bundle programmers to inspect the packages exported in the Framework and eagerly update or uninstall bundles.
PackagePermission - class org.osgi.framework.PackagePermission.
A bundle's authority to import or export a package.
PackagePermission(String, String) - Constructor for class org.osgi.framework.PackagePermission
Defines the authority to import and/or export a package within the OSGi environment.
PermissionAdmin - interface org.osgi.service.permissionadmin.PermissionAdmin.
The Permission Admin service allows operators to manage the permissions of bundles.
PermissionInfo - class org.osgi.service.permissionadmin.PermissionInfo.
Permission representation used by the Permission Admin service.
PermissionInfo(String, String, String) - Constructor for class org.osgi.service.permissionadmin.PermissionInfo
Constructs a PermissionInfo from the given type, name, and actions.
PermissionInfo(String) - Constructor for class org.osgi.service.permissionadmin.PermissionInfo
Constructs a PermissionInfo object from the given encoded PermissionInfo string.
Preferences - interface org.osgi.service.prefs.Preferences.
A node in a hierarchical collection of preference data.
PreferencesService - interface org.osgi.service.prefs.PreferencesService.
The Preferences Service.
parent() - Method in interface org.osgi.service.prefs.Preferences
Returns the parent of this node, or null if this is the root.
put(String, String) - Method in interface org.osgi.service.prefs.Preferences
Associates the specified value with the specified key in this node.
putBoolean(String, boolean) - Method in interface org.osgi.service.prefs.Preferences
Associates a String object representing the specified boolean value with the specified key in this node.
putByteArray(String, byte[]) - Method in interface org.osgi.service.prefs.Preferences
Associates a String object representing the specified byte[] with the specified key in this node.
putDouble(String, double) - Method in interface org.osgi.service.prefs.Preferences
Associates a String object representing the specified double value with the specified key in this node.
putFloat(String, float) - Method in interface org.osgi.service.prefs.Preferences
Associates a String object representing the specified float value with the specified key in this node.
putInt(String, int) - Method in interface org.osgi.service.prefs.Preferences
Associates a String object representing the specified int value with the specified key in this node.
putLong(String, long) - Method in interface org.osgi.service.prefs.Preferences
Associates a String object representing the specified long value with the specified key in this node.

R

REGISTER - Static variable in class org.osgi.framework.ServicePermission
The action string register (Value is "register").
REGISTERED - Static variable in class org.osgi.framework.ServiceEvent
This service has been registered.
REMOTE_USER - Static variable in interface org.osgi.service.http.HttpContext
HttpServletRequest attribute specifying the name of the authenticated user.
REQUIRED - Static variable in interface org.osgi.service.metatype.ObjectClassDefinition
Argument for getAttributeDefinitions(int).
RESOLVED - Static variable in interface org.osgi.framework.Bundle
This bundle is resolved and is able to be started.
ROLE - Static variable in interface org.osgi.service.useradmin.Role
The type of a predefined role.
ROLE_CHANGED - Static variable in class org.osgi.service.useradmin.UserAdminEvent
A Role object has been modified.
ROLE_CREATED - Static variable in class org.osgi.service.useradmin.UserAdminEvent
A Role object has been created.
ROLE_REMOVED - Static variable in class org.osgi.service.useradmin.UserAdminEvent
A Role object has been removed.
Role - interface org.osgi.service.useradmin.Role.
The base interface for Role objects managed by the User Admin service.
refreshPackages(Bundle[]) - Method in interface org.osgi.service.packageadmin.PackageAdmin
Forces the update (replacement) or removal of packages exported by the specified bundles.
registerResources(String, String, HttpContext) - Method in interface org.osgi.service.http.HttpService
Registers resources into the URI namespace.
registerService(String[], Object, Dictionary) - Method in interface org.osgi.framework.BundleContext
Registers the specified service object with the specified properties under the specified class names into the Framework.
registerService(String, Object, Dictionary) - Method in interface org.osgi.framework.BundleContext
Registers the specified service object with the specified properties under the specified class name into the Framework.
registerServlet(String, Servlet, Dictionary, HttpContext) - Method in interface org.osgi.service.http.HttpService
Registers a servlet into the URI namespace.
remove(String) - Method in interface org.osgi.service.prefs.Preferences
Removes the value associated with the specified key in this node, if any.
remove(ServiceReference) - Method in class org.osgi.util.tracker.ServiceTracker
Remove a service from this ServiceTracker object.
removeBundleListener(BundleListener) - Method in interface org.osgi.framework.BundleContext
Removes the specified BundleListener object from this context bundle's list of listeners.
removeFrameworkListener(FrameworkListener) - Method in interface org.osgi.framework.BundleContext
Removes the specified FrameworkListener object from this context bundle's list of listeners.
removeLogListener(LogListener) - Method in interface org.osgi.service.log.LogReaderService
Unsubscribes to LogEntry objects.
removeMember(Role) - Method in interface org.osgi.service.useradmin.Group
Removes the specified Role object from this Group object.
removeNode() - Method in interface org.osgi.service.prefs.Preferences
Removes this node and all of its descendants, invalidating any properties contained in the removed nodes.
removeRole(String) - Method in interface org.osgi.service.useradmin.UserAdmin
Removes the Role object with the given name from this User Admin service.
removeServiceListener(ServiceListener) - Method in interface org.osgi.framework.BundleContext
Removes the specified ServiceListener object from this context bundle's list of listeners.
removedService(ServiceReference, Object) - Method in class org.osgi.util.tracker.ServiceTracker
Default implementation of the ServiceTrackerCustomizer.removedService method.
removedService(ServiceReference, Object) - Method in interface org.osgi.util.tracker.ServiceTrackerCustomizer
A service tracked by the ServiceTracker object has been removed.
roleChanged(UserAdminEvent) - Method in interface org.osgi.service.useradmin.UserAdminListener
Receives notification that a Role object has been created, removed, or modified.

S

SELECT_NONE - Static variable in interface org.osgi.service.device.DriverSelector
Return value from DriverSelector.select, if no Driver service should be attached to the Device service.
SERVICE_DESCRIPTION - Static variable in interface org.osgi.framework.Constants
Service property (named "service.description") identifying a service's description.
SERVICE_ID - Static variable in interface org.osgi.framework.Constants
Service property (named "service.id") identifying a service's registration number (of type java.lang.Long).
SERVICE_PID - Static variable in interface org.osgi.framework.Constants
Service property (named "service.pid") identifying a service's persistent identifier.
SERVICE_RANKING - Static variable in interface org.osgi.framework.Constants
Service property (named "service.ranking") identifying a service's ranking number (of type java.lang.Integer).
SERVICE_VENDOR - Static variable in interface org.osgi.framework.Constants
Service property (named "service.vendor") identifying a service's vendor.
SHORT - Static variable in interface org.osgi.service.metatype.AttributeDefinition
The SHORT(4) type.
STARTED - Static variable in class org.osgi.framework.BundleEvent
This bundle has been started.
STARTED - Static variable in class org.osgi.framework.FrameworkEvent
The Framework has started.
STARTING - Static variable in interface org.osgi.framework.Bundle
This bundle is in the process of starting.
STOPPED - Static variable in class org.osgi.framework.BundleEvent
This bundle has been stopped.
STOPPING - Static variable in interface org.osgi.framework.Bundle
This bundle is in the process of stopping.
STRING - Static variable in interface org.osgi.service.metatype.AttributeDefinition
The STRING(1) type.
SYSTEM_BUNDLE_LOCATION - Static variable in interface org.osgi.framework.Constants
Location identifier of the OSGi system bundle, which is defined to be "System Bundle".
ServiceEvent - class org.osgi.framework.ServiceEvent.
A service lifecycle change event.
ServiceEvent(int, ServiceReference) - Constructor for class org.osgi.framework.ServiceEvent
Creates a new service event object.
ServiceFactory - interface org.osgi.framework.ServiceFactory.
Allows services to provide customized service objects in the OSGi environment.
ServiceListener - interface org.osgi.framework.ServiceListener.
A ServiceEvent listener.
ServicePermission - class org.osgi.framework.ServicePermission.
Indicates a bundle's authority to register or get a service.
ServicePermission(String, String) - Constructor for class org.osgi.framework.ServicePermission
Create a new ServicePermission.
ServiceReference - interface org.osgi.framework.ServiceReference.
A reference to a service.
ServiceRegistration - interface org.osgi.framework.ServiceRegistration.
A registered service.
ServiceTracker - class org.osgi.util.tracker.ServiceTracker.
The ServiceTracker class simplifies using services from the Framework's service registry.
ServiceTracker(BundleContext, ServiceReference, ServiceTrackerCustomizer) - Constructor for class org.osgi.util.tracker.ServiceTracker
Create a ServiceTracker object on the specified ServiceReference object.
ServiceTracker(BundleContext, String, ServiceTrackerCustomizer) - Constructor for class org.osgi.util.tracker.ServiceTracker
Create a ServiceTracker object on the specified class name.
ServiceTracker(BundleContext, Filter, ServiceTrackerCustomizer) - Constructor for class org.osgi.util.tracker.ServiceTracker
Create a ServiceTracker object on the specified Filter object.
ServiceTrackerCustomizer - interface org.osgi.util.tracker.ServiceTrackerCustomizer.
The ServiceTrackerCustomizer interface allows a ServiceTracker object to customize the service objects that are tracked.
SynchronousBundleListener - interface org.osgi.framework.SynchronousBundleListener.
A synchronous BundleEvent listener.
select(ServiceReference, Match[]) - Method in interface org.osgi.service.device.DriverSelector
Select one of the matching Driver services.
serviceChanged(ServiceEvent) - Method in interface org.osgi.framework.ServiceListener
Receives notification that a service has had a lifecycle change.
setBundleLocation(String) - Method in interface org.osgi.service.cm.Configuration
Bind this Configuration object to the specified bundle location.
setDefaultPermissions(PermissionInfo[]) - Method in interface org.osgi.service.permissionadmin.PermissionAdmin
Sets the default permissions.
setPermissions(String, PermissionInfo[]) - Method in interface org.osgi.service.permissionadmin.PermissionAdmin
Assigns the specified permissions to the bundle with the specified location.
setProperties(Dictionary) - Method in interface org.osgi.framework.ServiceRegistration
Updates the properties associated with a service.
size() - Method in class org.osgi.util.tracker.ServiceTracker
Return the number of services being tracked by this ServiceTracker object.
start() - Method in interface org.osgi.framework.Bundle
Starts this bundle.
start(BundleContext) - Method in interface org.osgi.framework.BundleActivator
Called when this bundle is started so the Framework can perform the bundle-specific activities necessary to start this bundle.
stop() - Method in interface org.osgi.framework.Bundle
Stops this bundle.
stop(BundleContext) - Method in interface org.osgi.framework.BundleActivator
Called when this bundle is stopped so the Framework can perform the bundle-specific activities necessary to stop the bundle.
sync() - Method in interface org.osgi.service.prefs.Preferences
Ensures that future reads from this node and its descendants reflect any changes that were committed to the persistent store (from any VM) prior to the sync invocation.

T

toString() - Method in interface org.osgi.framework.Filter
Returns this Filter object's filter string.
toString() - Method in class org.osgi.service.permissionadmin.PermissionInfo
Returns the string representation of this PermissionInfo.
toString() - Method in class org.osgi.service.useradmin.UserAdminPermission
Returns a string describing this UserAdminPermission.

U

UNINSTALLED - Static variable in interface org.osgi.framework.Bundle
This bundle is uninstalled and may not be used.
UNINSTALLED - Static variable in class org.osgi.framework.BundleEvent
This bundle has been uninstalled.
UNREGISTERING - Static variable in class org.osgi.framework.ServiceEvent
This service is in the process of being unregistered.
UPDATED - Static variable in class org.osgi.framework.BundleEvent
This bundle has been updated.
USER - Static variable in interface org.osgi.service.useradmin.Role
The type of a Userrole.
User - interface org.osgi.service.useradmin.User.
A User role managed by a User Admin service.
UserAdmin - interface org.osgi.service.useradmin.UserAdmin.
This interface is used to manage a database of named Role objects, which can be used for authentication and authorization purposes.
UserAdminEvent - class org.osgi.service.useradmin.UserAdminEvent.
Role change event.
UserAdminEvent(ServiceReference, int, Role) - Constructor for class org.osgi.service.useradmin.UserAdminEvent
Constructs a UserAdminEvent object from the given ServiceReference object, event type, and Role object.
UserAdminListener - interface org.osgi.service.useradmin.UserAdminListener.
Listener for UserAdminEvents.
UserAdminPermission - class org.osgi.service.useradmin.UserAdminPermission.
Permission to configure and access the Roleobjects managed by a User Admin service.
UserAdminPermission(String, String) - Constructor for class org.osgi.service.useradmin.UserAdminPermission
Creates a new UserAdminPermission with the specified name and actions.
ungetService(ServiceReference) - Method in interface org.osgi.framework.BundleContext
Releases the service object referenced by the specified ServiceReference object.
ungetService(Bundle, ServiceRegistration, Object) - Method in interface org.osgi.framework.ServiceFactory
Releases a service object.
uninstall() - Method in interface org.osgi.framework.Bundle
Uninstalls this bundle.
unregister() - Method in interface org.osgi.framework.ServiceRegistration
Unregisters a service.
unregister(String) - Method in interface org.osgi.service.http.HttpService
Unregisters a previous registration done by registerServlet or registerResources.
update() - Method in interface org.osgi.framework.Bundle
Updates this bundle.
update(InputStream) - Method in interface org.osgi.framework.Bundle
Updates this bundle from an InputStream.
update(Dictionary) - Method in interface org.osgi.service.cm.Configuration
Update the properties of this Configuration object.
update() - Method in interface org.osgi.service.cm.Configuration
Update the Configuration object with the current properties.
updated(Dictionary) - Method in interface org.osgi.service.cm.ManagedService
Update the configuration for a Managed Service.
updated(String, Dictionary) - Method in interface org.osgi.service.cm.ManagedServiceFactory
Create a new instance, or update the configuration of an existing instance.

V

validate(String) - Method in interface org.osgi.service.metatype.AttributeDefinition
Validate an attribute in String form.

W

waitForService(long) - Method in class org.osgi.util.tracker.ServiceTracker
Wait for at least one service to be tracked by this ServiceTracker object.

A B C D E F G H I K L M N O P R S T U V W
OSGi™ Service Platform
Release 2

Copyright © OSGi Alliance (2000, 2002). All Rights Reserved. Licensed under the OSGi Specification License, Version 1.0