Top Description Methods
org.osgi.service.device

public Interface Match

Imports
org.osgi.framework.ServiceReference

Instances of Match are used in the DriverSelector#select(ServiceReference, Match[]) method to identify Driver services matching a Device service.
Author
$Id: c3b0d8bac43d6b52ce77716fbd0542f3d79cd8f2 $
Since
1.1
See Also
DriverSelector

Method Summary

Modifier and TypeMethod and Description
public ServiceReference<?>

Returns:

ServiceReference object to a Driver service.
getDriver
()

Return the reference to a Driver service.

public int

Returns:

the match value returned by this Driver service.
getMatchValue
()

Return the match value of this object.

Method Detail

getDriverback to summary
public ServiceReference<?> getDriver()

Return the reference to a Driver service.

Returns:ServiceReference<?>

ServiceReference object to a Driver service.

getMatchValueback to summary
public int getMatchValue()

Return the match value of this object.

Returns:int

the match value returned by this Driver service.