See: Description
| Interface | Description |
|---|---|
| BackendControlUnitTracker |
Control Unit Tracker interface to the backend applications.
|
| ControlUnitTrackDefinition |
This service could be registered on the backend hosts to define
the control unit tracking interface.
|
Provides API for backend applications to fill the control unit tracker. Applications may implement the ControlUnitTrackDefinition and register it as framework service to define the track interface for particular control unit types. When there is a track interface defined for given control unit type, applications may fill control unit templates in the tracker via the BackendControlUnitTracker which is accessible as framework service in the backend framework.
|
import com.prosyst.mprm.backend.cutracker.BackendControlUnitTracker; import org.osgi.framework.BundleContext; import org.osgi.framework.ServiceReference; ..... public BackendControlUnitTracker getBackendControlUnitTracker(BundleContext context) { BackendControlUnitTracker tracker = null; ServiceReference trackerRef = context.getServiceReference(BackendControlUnitTracker.class.getName()); if (trackerRef != null) { tracker = (BackendControlUnitTracker)context.getService(trackerRef); } return tracker; } ..... |
Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.