@ProviderType
public interface WireHelperService
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPid(WireComponent wireComponent)
Retrieves the Kura Service PID (kura.service.pid) of the wire component
|
java.lang.String |
getServicePid(java.lang.String wireComponentPid)
Retrieves the OSGi Component Service PID (service.pid) of the provided
wire component PID
|
java.lang.String |
getServicePid(WireComponent wireComponent)
Retrieves the OSGi Component Service PID (service.pid) of the wire
component
|
boolean |
isEmitter(java.lang.String wireComponentPid)
Checks whether the provided Wire Component PID belongs to a Wire Emitter
|
boolean |
isReceiver(java.lang.String wireComponentPid)
Checks whether the provided Wire Component PID belongs to a Wire Receiver
|
WireSupport |
newWireSupport(WireComponent wireComponent,
org.osgi.framework.ServiceReference<WireComponent> wireComponentRef)
Returns a Wire Support instance of the provided wire component
|
java.lang.String getPid(WireComponent wireComponent)
wireComponent - the wire componentnull if
the provided Wire Component PID is not associated with any
available Wire Component in the OSGi service registryjava.lang.NullPointerException - if the argument is nulljava.lang.String getServicePid(java.lang.String wireComponentPid)
wireComponentPid - the wire component PID (kura.service.pid)null if
the provided Wire Component PID is not associated with any
available Wire Component in the OSGi service registryjava.lang.NullPointerException - if the argument is nulljava.lang.String getServicePid(WireComponent wireComponent)
wireComponent - the wire componentnull if
the provided Wire Component PID is not associated with any
available Wire Component in the OSGi service registryjava.lang.NullPointerException - if the argument is nullboolean isEmitter(java.lang.String wireComponentPid)
wireComponentPid - the wire component PID (kura.service.pid)java.lang.NullPointerException - if the argument is nullboolean isReceiver(java.lang.String wireComponentPid)
wireComponentPid - the wire component PID (kura.service.pid)java.lang.NullPointerException - if the argument is nullWireSupport newWireSupport(WireComponent wireComponent, org.osgi.framework.ServiceReference<WireComponent> wireComponentRef)
wireComponent - the wire componentwireComponentRef - the ServiceReference that contains the metadata/configuration related to the wireComponentjava.lang.NullPointerException - if the argument is null