Knopflerfish OSGi 5.2.0

org.osgi.service.device
Interface Constants


public interface Constants

This interface defines standard names for property keys associated with Device and Driver services.

The values associated with these keys are of type java.lang.String, unless otherwise stated.

Since:
1.1
Author:
$Id: 967b949d668d2d3b7edf650369c19b3f48a67373 $
See Also:
Device, Driver
Consumers of this API must not implement this interface

Field Summary
static java.lang.String DEVICE_CATEGORY
          Property (named "DEVICE_CATEGORY") containing a human readable description of the device categories implemented by a device.
static java.lang.String DEVICE_DESCRIPTION
          Property (named "DEVICE_DESCRIPTION") containing a human readable string describing the actual hardware device.
static java.lang.String DEVICE_SERIAL
          Property (named "DEVICE_SERIAL") specifying a device's serial number.
static java.lang.String DRIVER_ID
          Property (named "DRIVER_ID") identifying a driver.
 

Field Detail

DRIVER_ID

static final java.lang.String DRIVER_ID
Property (named "DRIVER_ID") identifying a driver.

A DRIVER_ID should start with the reversed domain name of the company that implemented the driver (e.g., com.acme), and must meet the following requirements:

This property is mandatory, i.e., every Driver service must be registered with it.

See Also:
Constant Field Values

DEVICE_CATEGORY

static final java.lang.String DEVICE_CATEGORY
Property (named "DEVICE_CATEGORY") containing a human readable description of the device categories implemented by a device. This property is of type String[]

Services registered with this property will be treated as devices and discovered by the device manager

See Also:
Constant Field Values

DEVICE_SERIAL

static final java.lang.String DEVICE_SERIAL
Property (named "DEVICE_SERIAL") specifying a device's serial number.

See Also:
Constant Field Values

DEVICE_DESCRIPTION

static final java.lang.String DEVICE_DESCRIPTION
Property (named "DEVICE_DESCRIPTION") containing a human readable string describing the actual hardware device.

See Also:
Constant Field Values

Knopflerfish OSGi 5.2.0