Knopflerfish OSGi 5.2.0

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: d162518484495fb4ad5c99153b85d274837c69ab $
See Also:
DriverSelector
ThreadSafe
Consumers of this API must not implement this interface

Method Summary
 ServiceReference getDriver()
          Return the reference to a Driver service.
 int getMatchValue()
          Return the match value of this object.
 

Method Detail

getDriver

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.

Knopflerfish OSGi 5.2.0