| 
 | OSGi™ Service Platform Release 4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
When the device manager detects a new Device service, it calls all registered
 Driver services to determine if anyone matches the Device service. If at
 least one Driver service matches, the device manager must choose one. If
 there is a Driver Selector service registered with the Framework, the device
 manager will ask it to make the selection. If there is no Driver Selector
 service, or if it returns an invalid result, or throws an Exception,
 the device manager uses the default selection strategy.
| Field Summary | |
| static int | SELECT_NONEReturn value from DriverSelector.select, if no Driver service
 should be attached to the Device service. | 
| Method Summary | |
|  int | select(ServiceReference reference,
       Match[] matches)Select one of the matching Driver services. | 
| Field Detail | 
public static final int SELECT_NONE
DriverSelector.select, if no Driver service
 should be attached to the Device service. The value is -1.
| Method Detail | 
public int select(ServiceReference reference,
                  Match[] matches)
Device.MATCH_NONE)
 
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 attached| 
 | OSGi™ Service Platform Release 4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||