code: @Deactivate
      protected void deactivate(ComponentContext cc) throws Exception {
          RuntimeDelegate.setInstance(null);
          BusFactory.getDefaultBus().shutdown(false);
  
      }
docs: /*
  Called by Declarative Services to deactivate service