/*
  public void execute() {      Iterator iter;      //********* Check for our modes being added ***********      //We have one defense mode, so we only get the one from iter.next();      iter = defenseModeSubscription.getAddedCollection().iterator();      if (iter.hasNext()) {          DefenseEnablingOperatingMode dmode = (DefenseEnablingOperatingMode)iter.next();          if (dmode != null) {            if (logger.isDebugEnabled()) logger.debug("**** Added DefenseEnablingOperatingMode with value = " + dmode.getValue());          }      }      //We have one defense mode, so we only get the one from iter.next();      iter = enablingModeSubscription.getAddedCollection().iterator();      if (iter.hasNext()) {                MonitoringEnablingOperatingMode mmode = (MonitoringEnablingOperatingMode)iter.next();          if (mmode != null) {            if (logger.isDebugEnabled()) logger.debug("**** Added MonitoringEnablingOperatingMode with value = " + mmode.getValue());          }      }                              //********* Check for changes in our modes ************            //We have one defense mode, so we only get the one from iter.next();      iter = defenseModeSubscription.getChangedCollection().iterator();      if (iter.hasNext()) {          DefenseEnablingOperatingMode dmode = (DefenseEnablingOperatingMode)iter.next();          if (dmode != null) {              if (logger.isDebugEnabled()) logger.debug("****DefenseEnablingOperatingMode set to " + dmode.getValue());          }      }      //We have one defense mode, so we only get the one from iter.next();      iter = enablingModeSubscription.getChangedCollection().iterator();      if (iter.hasNext()) {                MonitoringEnablingOperatingMode mmode = (MonitoringEnablingOperatingMode)iter.next();          if (mmode != null) {              if (logger.isDebugEnabled()) logger.debug("****MonitoringEnablingOperatingMode set to " + mmode.getValue());          }      }            if (timerExpired()) { //then change the value of the condition        if (haveServices()) {          cancelTimer();          setTestCondition();        }        else if (logger.isDebugEnabled()) {          logger.debug(".execute - not all services ready yet.");        }      } else {          if (logger.isDebugEnabled()) logger.debug("** Timer not expired");      }        }