Unregister boostrap context
@param bc The bootstrap context
194860
public void unregisterBootstrapContext(CloneableBootstrapContext bc)
   {
      if (bc != null)
      {
         if (bc.getName() == null || bc.getName().trim().equals(""))
            throw new IllegalArgumentException("The name of BootstrapContext is invalid: " + bc);

         if (bootstrapContexts.keySet().contains(bc.getName()))
         {
            bootstrapContexts.remove(bc.getName());
         }
      }
   }
991486
public void unregisterServiceInstance(String serviceName, String instanceId, final RegistrationCallback cb, Object context){
        ProtocolHeader header = new ProtocolHeader();
        header.setType(ProtocolType.UnregisterServiceInstance);

        UnregisterServiceInstanceProtocol p = new UnregisterServiceInstanceProtocol(serviceName, instanceId);
        ProtocolCallback pcb = new ProtocolCallback(){

            @Override
            public void call(boolean result, Response response,
                    ErrorCode error, Object ctx) {
                cb.call(result, error, ctx);
            }

        };
        connection.submitCallbackRequest(header, p, pcb, context);
    }
851868
public synchronized void unregister() {
        if (this.service != null) {
            LOG.info("unregister servlet on mountpoint {} with contextParams {}", getAlias(),
                contextParams);
            this.service.unregister(getAlias());
            this.service = null;
        }
    }
836903
def unbind(self, dependency, svc, svc_ref):
        # type: (Any, Any, ServiceReference) -> None
        
        with self._lock:
            # Invalidate first (if needed)
            self.check_lifecycle()

            # Call unbind() and remove the injection
            self.__unset_binding(dependency, svc, svc_ref)

            # Try a new configuration
            if self.update_bindings():
                self.check_lifecycle()
1250204
public void unregister() {
        // clean up the connections by first closing them
        for (WebSocketConnection conn : conns) {
            conn.close();
        }
        conns.clear();
        // clean up the listeners by first stopping them
        for (IWebSocketDataListener listener : listeners) {
            listener.stop();
        }
        listeners.clear();
    }
244604
def unregisterView(viewType, location='Central'):
        
        XView._registry.get(location, {}).pop(viewType.viewName(), None)
        XView.dispatch(location).emit('unregisteredView(QVariant)', viewType)
1280530
private void unregisterQuickStartSecurityRegistryConfiguration() {
        if (urConfigReg != null) {
            urConfigReg.unregister();
            urConfigReg = null;
            quickStartRegistry = null;
        } else {
            if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                Tr.debug(tc, "QuickStartSecurityRegistry configuration is not registered.");
            }
        }
    }
82764
private void removeFromServerContextBindingMap(String bindingName,
                                                   boolean explicit)
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            Tr.debug(tc, "removeFromServerContextBindingMap : " + bindingName +
                         ", explicit : " + explicit);

        // Re-wrote method to account for explict and implicit bindings. d457053.1

        BindingData bdata = ivServerContextBindingMap.get(bindingName);

        if (bdata != null)
        {
            if (explicit)
            {
                if (ivHomeRecord.j2eeName.equals(bdata.ivExplicitBean))
                {
                    bdata.ivExplicitBean = null;
                    bdata.ivExplicitInterface = null;
                }
                else
                {
                    if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                        Tr.debug(tc, "removeFromServerContextBindingMap : " +
                                     "ERROR : explicit binding for different bean : " +
                                     bdata.ivExplicitBean);
                }
            }
            else
            {
                if (bdata.ivImplicitBeans != null)
                {
                    bdata.ivImplicitBeans.remove(ivHomeRecord.j2eeName);

                    if (bdata.ivImplicitBeans.size() == 0)
                    {
                        bdata.ivImplicitBeans = null;
                    }
                }
                else
                {
                    if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                        Tr.debug(tc, "removeFromServerContextBindingMap : " +
                                     "ERROR : no implicit binding");
                }
            }

            if (bdata.ivExplicitBean == null &&
                bdata.ivImplicitBeans == null)
            {
                ivServerContextBindingMap.remove(bindingName);
            }
        }
        else
        {
            if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                Tr.debug(tc, "removeFromServerContextBindingMap : " +
                             "ERROR : no binding data");
        }
    }
878073
boolean unregisterConnection(ConnectionManager cm, ConnectionListener cl, Object c)
   {
      if (clToC != null && clToC.get(cl) != null)
      {
         List<Object> l = clToC.get(cl);
         return l.remove(c);
      }

      return false;
   }
810016
protected void unsetBaseInstance(ServiceReference<ContextService> ref) {
        lock.writeLock().lock();
        try {
            threadContextConfigurations = null;
        } finally {
            lock.writeLock().unlock();
        }
    }
1207616
void unregisterEventBuses() {
        if (eventsRegistered) {
            eventBusV.unregister(androidComponent);
            eventsRegistered = false;
            logger.trace("-Event2V bus unregistered for view - '{}' and its controllers.",
                    androidComponent.getClass().getSimpleName());
            Mvc.graph().release(this);
        } else {
            logger.trace("!Event2V bus already unregistered for view - '{}'.",
                    androidComponent.getClass().getSimpleName());
        }
    }
1004313
private void unloadIncompatiblePlugins() {
    // loop as long as the previous loop ignored some plugins. That allows to support dependencies
    // on many levels, for example D extends C, which extends B, which requires A. If A is not installed,
    // then B, C and D must be ignored. That's not possible to achieve this algorithm with a single
    // iteration over plugins.
    Set<String> removedKeys = new HashSet<>();
    do {
      removedKeys.clear();
      for (PluginInfo plugin : pluginInfosByKeys.values()) {
        if (!isCompatible(plugin, runtime, pluginInfosByKeys)) {
          removedKeys.add(plugin.getKey());
        }
      }
      for (String removedKey : removedKeys) {
        pluginInfosByKeys.remove(removedKey);
      }
    } while (!removedKeys.isEmpty());
  }
188226
protected void deactivate(ComponentContext context) {
        securityServiceRef.deactivate(context);
        unauthSubjectServiceRef.deactivate(context);
        authServiceRef.deactivate(context);
        credServiceRef.deactivate(context);

    }
454633
@Override
  public void unregister(Monitor<?> monitor) {
    try {
      List<MonitorMBean> beans = MonitorMBean.createMBeans(name, monitor, mapper);
      for (MonitorMBean bean : beans) {
        try {
          mBeanServer.unregisterMBean(bean.getObjectName());
          locks.remove(bean.getObjectName());
        } catch (InstanceNotFoundException ignored) {
          // ignore errors attempting to unregister a non-registered monitor
          // a common error is to unregister twice
        }
      }
      monitors.remove(monitor.getConfig());
      updatePending.set(true);
    } catch (Exception e) {
      LOG.warn("Unable to un-register Monitor:" + monitor.getConfig(), e);
    }
  }
639364
public void unregisterService(Database database, String serviceName, String instanceName, String deviceName)
            throws DevFailed {
        String[] services = new String[0];

        //	Get service property
        DbDatum data = get_property(database, TangoConst.CONTROL_SYSTEM,
                TangoConst.SERVICE_PROP_NAME);
        if (!data.is_empty())
            services = data.extractStringArray();

        //	Build what to be remove and searched
        String target = serviceName + "/" + instanceName;
        target = target.toLowerCase();

        //	Search if already exists
        boolean exists = false;
        Vector<String> v = new Vector<String>();
        for (String service : services) {
            String line = service.toLowerCase();
            int idx = line.indexOf(':');
            if (idx>0)
                line = line.substring(0, idx);

            if (line.equals(target))    // Found
                exists = true;
            else
                v.add(service);
        }
        if (exists) {
            //	Copy vector to String array
            services = new String[v.size()];
            for (int i = 0 ; i<v.size() ; i++)
                services[i] = v.get(i);

            //	And finally put property
            data = new DbDatum(TangoConst.SERVICE_PROP_NAME);
            data.insert(services);
            put_property(database, TangoConst.CONTROL_SYSTEM, new DbDatum[]{data});
        }
    }
1101271
def unregister(self, provider):
        '''
        '''
        if isinstance(provider, type):
            provider = provider()
        if isinstance(provider, DataProvider):
            provider = provider.code
        return self.pop(str(provider).upper(), None)
980368
public static void unregisterMXBean(CacheProxy<?, ?> cache, MBeanType type) {
    ObjectName objectName = getObjectName(cache, type);
    unregister(objectName);
  }