Exemplo n.º 1
0
 private void considerTracking(Bundle bundle) {
   BundleManager existing = bundleManagers.get(bundle.getBundleId());
   if (existing == null) {
     BundleManager bundleManager = BundleManager.manage(bundle, asynch, queuer);
     if (bundleManager != null) {
       storeBundleManager(bundle.getBundleId(), bundleManager);
       launchUnhostedModuleSpecifications(bundleManager);
       log.info(this + " tracks bundle " + bundle + ": " + bundleManager);
     }
   } else {
     log.info(this + " already tracking " + bundle + ": " + existing);
   }
 }