Package org.osgi.service.device
@Version("1.1.1")
package org.osgi.service.device
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)"
-
ClassDescriptionInterface for identifying device services.A
Driver
service object must be registered by each Driver bundle wishing to attach to Device services provided by other drivers.A Driver Locator service can find and load device driver bundles given a property set.When the device manager detects a new Device service, it calls all registered Driver services to determine if anyone matches the Device service.Instances ofMatch
are used in theDriverSelector.select(ServiceReference, Match[])
method to identify Driver services matching a Device service.