delegator.setLDM(ldm);
synchronized (delegator) {  delegator.setLDM(ldm); HashMap oc = delegator.flushTemporaryPrototypeCache(); if (oc != null) { for (Iterator i = oc.entrySet().iterator(); i.hasNext(); ) { Map.Entry entry = (Map.Entry) i.next(); ldm.cachePrototype((String) entry.getKey(), (Asset) entry.getValue()); } } }
  static void setLDM(MessageAddress agentAddr, LDMServesPlugin ldm) {    synchronized (table) {      Object o = table.get(agentAddr);      if (o instanceof LDMServesPlugin.Delegator) {        LDMServesPlugin.Delegator delegator = (LDMServesPlugin.Delegator) o;        delegator.setLDM(ldm);      }      table.put(agentAddr, ldm);    }  }