Skip navigation links

Package com.prosyst.mprm.backend.cutracker

Provides API for backend applications to fill the control unit tracker.

See: Description

Package com.prosyst.mprm.backend.cutracker Description

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.



Example :

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;
  }

.....

Skip navigation links

Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.