Package org.osgi.service.device
Interface Match
-
public interface Match
Instances ofMatch
are used in theDriverSelector.select(ServiceReference, Match[])
method to identify Driver services matching a Device service.- Since:
- 1.1
- See Also:
DriverSelector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.osgi.framework.ServiceReference<?>
getDriver()
Return the reference to a Driver service.int
getMatchValue()
Return the match value of this object.
-
-
-
Method Detail
-
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.
-
-