示例#1
0
 /** Destroy the ServiceConsumer */
 void destroy() {
   try {
     adapter.getComputeResource().deleteObserver(computeResourceObserver);
     lCache.removeListener(this);
     cancelRegistrations();
     synchronized (provisioners) {
       provisioners.clear();
     }
   } finally {
     destroyed = true;
   }
 }
 private void removeLookupCache() {
   lookupCache.removeListener(this);
   lookupCache.terminate();
   if (clm != null) clm.terminate();
   // System.out.println("JAM LAUNCHER terminated " + key);
 }