Package org.osgi.service.device
Description
The OSGi Device Access Specification.
The Device Manager service listens for new Device services and attaches drivers on top of devices.
Device manager
The device manager registers as service listener in the framework, detecting all newly installed Device services. For each new Device service, a list of driver bundles are located and installed. Then, all Driver services are located from framework and tested in a bidding phase, where each Driver may inspect the Device service. The highest bidding Driver gets attached to the device.
Device Manager Algorithm
Device detection Listen for all new Device Services implementing org.osgi.service.device.Device
For each new Device service:
Location phase Use DriverLocators ...
Get Programming Open Service Gateways with Java Embedded Server™ Technology now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.