Package org.osgi.service.device
Interface Match
public interface Match
Instances of
Match
are used in the
DriverSelector.select(ServiceReference, Match[])
method to identify
Driver services matching a Device service.- Since:
- 1.1
- Author:
- $Id: c3b0d8bac43d6b52ce77716fbd0542f3d79cd8f2 $
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.osgi.framework.ServiceReference
<?> Return the reference to a Driver service.int
Return the match value of this object.
-
Method Details
-
getDriver
org.osgi.framework.ServiceReference<?> getDriver()Return the reference to a Driver service.- Returns:
ServiceReference
object to a Driver service.
-
getMatchValue
int getMatchValue()Return the match value of this object.- Returns:
- the match value returned by this Driver service.
-