Пример #1
0
  public synchronized void deactivateEndpoint(Endpoint endpoint) throws Exception {
    OdeService svc = _activeOdeServices.get(endpoint);

    if (svc != null) {
      _serviceEprMap.remove(svc);
      svc.deactivate();
      if (svc.getCount() < 1) {
        _activeOdeServices.remove(endpoint);
      }
    }
  }