@Deactivate
 void deactivate() {
   DataStore dataStore = getDataStore();
   if (dataStore != null) {
     dataStore.untrackConfiguration(configurationChangeHandler);
   }
   if (keepAliveTimer != null) {
     keepAliveTimer.cancel();
     keepAliveTimer = null;
   }
   deactivateComponent();
 }
  @Activate
  void activate() {
    activateComponent();
    keepAliveTimer = new Timer("fabric8-process-container-monitor");

    TimerTask timerTask =
        new TimerTask() {
          @Override
          public void run() {
            checkProcessesStatus();
          }
        };
    keepAliveTimer.schedule(timerTask, monitorPollTime, monitorPollTime);

    DataStore dataStore = getDataStore();
    if (dataStore != null) {
      dataStore.trackConfiguration(configurationChangeHandler);
    }
  }