public synchronized void destroyContext(Bundle bundle) {
   RuntimeContext ctx = contexts.remove(bundle.getSymbolicName());
   if (ctx != null) {
     ctx.destroy();
   }
 }
Пример #2
0
 @After
 public void undeploy() {
   rc.destroy();
   rc = null;
 }