Iterator subIt = sub.iterator(); while (subIt.hasNext()) { PlanElement pe = (PlanElement) subIt.next(); if (PluginHelper.updatePlanElement(pe)) { inventoryPlugin.publishChange(pe); }
Iterator subIt = sub.iterator(); while (subIt.hasNext()) { PlanElement pe = (PlanElement) subIt.next(); if (PluginHelper.updatePlanElement(pe)) { boolean didPubChg = inventoryPlugin.publishChange(pe); if (logger.isDebugEnabled()) { logger.debug("Agent: " + inventoryPlugin.getClusterId().toString() + "SupplyExp[" + inventoryPlugin.getSupplyType()+"]" + "publish Changing expansion due to AR change: " + pe.getUID()+ " parent task is: " + pe.getTask().getUID() + " publishChange returned: " + didPubChg); }
  public void updateAllocationResult(IncrementalSubscription sub) {      Iterator subIt = sub.iterator();      while (subIt.hasNext()) {	  PlanElement pe = (PlanElement) subIt.next();	  if (PluginHelper.updatePlanElement(pe)) {	      inventoryPlugin.publishChange(pe);	  }      }  }