OSGi™ Service Platform
Release 4 Version 4.2

org.osgi.service.device
Interface Match


public interface Match

Instances of Match are used in the DriverSelector.select(org.osgi.framework.ServiceReference, org.osgi.service.device.Match[]) method to identify Driver services matching a Device service.

Since:
1.1
See Also:
DriverSelector
ThreadSafe

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.

OSGi™ Service Platform
Release 4 Version 4.2

Copyright © OSGi Alliance (2000, 2010). All Rights Reserved. Licensed under the OSGi Specification License, Version 1.0