public synchronized void destroyContext(Bundle bundle) {
   RuntimeContext ctx = contexts.remove(bundle.getSymbolicName());
   if (ctx != null) {
     ctx.destroy();
   }
 }
Exemplo n.º 2
0
 @After
 public void undeploy() {
   rc.destroy();
   rc = null;
 }