/** Creates and publishes alert for failed allocations * */ public void createAlert(Allocation alloc) { if (allocationAlerts.containsKey(alloc)) return; NewAlert alert = theLDMF.newAlert(); NewAlertParameter[] params = new NewAlertParameter[1]; params[0] = theLDMF.newAlertParameter(); params[0].setParameter(alloc); params[0].setDescription("Failed Allocation"); alert.setAlertText("Allocation Failed for :" + alloc.toString()); alert.setAlertParameters(params); publishAdd(alert); allocationAlerts.put(alloc, alert); }