public interface DriverSelector
Exception
, the device manager uses the default selection
strategy.Modifier and Type | Field and Description |
---|---|
static int |
SELECT_NONE
Return value from
DriverSelector.select , if no Driver
service should be attached to the Device service. |
Modifier and Type | Method and Description |
---|---|
int |
select(org.osgi.framework.ServiceReference reference,
Match[] matches)
Select one of the matching Driver services.
|
static final int SELECT_NONE
DriverSelector.select
, if no Driver
service should be attached to the Device service. The value is -1.int select(org.osgi.framework.ServiceReference reference, Match[] matches)
Device.MATCH_NONE
)
match values will be included in the list.reference
- the ServiceReference
object of the Device
service.matches
- the array of all non-zero matches.Match
objects, or
SELECT_NONE
if no Driver service should be attachedCopyright © 2006–2017 OSGi Alliance. All rights reserved.