OSGi™ Service Platform
Compendium Specification

Release 4 Version 4.3

Package org.osgi.service.device

Device Access Package Version 1.1.

See:
          Description

Interface Summary
Constants This interface defines standard names for property keys associated with Device and Driver services.
Device Interface for identifying device services.
Driver A Driver service object must be registered by each Driver bundle wishing to attach to Device services provided by other drivers.
DriverLocator A Driver Locator service can find and load device driver bundles given a property set.
DriverSelector When the device manager detects a new Device service, it calls all registered Driver services to determine if anyone matches the Device service.
Match Instances of Match are used in the DriverSelector.select(ServiceReference, Match[]) method to identify Driver services matching a Device service.
 

Package org.osgi.service.device Description

Device Access Package Version 1.1.

Bundles wishing to use this package must list the package in the Import-Package header of the bundle's manifest. This package has two types of users: the consumers that use the API in this package and the providers that implement the API in this package.

Example import for consumers using the API in this package:

Import-Package: org.osgi.service.device; version="[1.1,2.0)"

Example import for providers implementing the API in this package:

Import-Package: org.osgi.service.device; version="[1.1,1.2)"


OSGi™ Service Platform
Compendium Specification

Release 4 Version 4.3

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