@ProviderType
public interface DriverService
| Modifier and Type | Method and Description |
|---|---|
Driver |
getDriver(java.lang.String driverPid)
Gets the driver instance by the provided driver PID
(
kura.service.pid). |
java.lang.String |
getDriverPid(Driver driver)
Gets the driver PID.
|
java.util.List<Driver> |
listDrivers()
Returns the list containing all the available driver instances
|
Driver getDriver(java.lang.String driverPid)
kura.service.pid).driverPid - the driver PID to checkjava.lang.NullPointerException - if the provided driver PID is nulljava.lang.String getDriverPid(Driver driver)
kura.service.pid) by the provided driver
instancedriver - the driver instance to checkjava.lang.NullPointerException - if the provided driver instance is nulljava.util.List<Driver> listDrivers()