code: public void bind(T service, Map<String, Object> props) {
      synchronized (serviceMap) {
        serviceMap.put(ServiceUtil.getComparableForServiceRanking(props), service);
        updateSortedServices();
      }
    }
docs: Handle bind service event.
  @param service Service instance
  @param props Service reference properties