Iterator it = myOpConInfoRelaySubscription.iterator(); while (it.hasNext()) { OpConInfoRelay opir = (OpConInfoRelay) it.next(); if (opir.getResponse() == null) { if (logger.isDebugEnabled()) { logger.debug("Updating the relay with: " +idInfo); } opir.updateResponse(null, idInfo); getBlackboardService().publishChange(opir); } }
  protected void execute() {    if (mySelfOrgs.hasChanged()) {      initIdInfo();    }    if (myOpConInfoRelaySubscription.hasChanged()) {      if (logger.isDebugEnabled()) {        logger.debug(": myOpConInfoRelaySubscription has changed!");      }      Collection addedOpConInfoRelays =        myOpConInfoRelaySubscription.getAddedCollection();            for (Iterator adds = addedOpConInfoRelays.iterator();           adds.hasNext();) {        OpConInfoRelay opiRelay = (OpConInfoRelay) adds.next();        if (logger.isDebugEnabled()) {          logger.debug("Updating the relay with: " +idInfo);        }        opiRelay.updateResponse(null, idInfo);         getBlackboardService().publishChange(opiRelay);      }    }  }