code: @Override
    public void shutdown(ShutdownModeAmp mode)
    {
      TreeSet<String> serviceNames = new TreeSet<>(_serviceMap.keySet());
      
      // HashSet<ServiceRefAmp> serviceSet = new HashSet<>(_serviceMap.values());
      
      if (mode == ShutdownModeAmp.GRACEFUL) {
        save(serviceNames);
      }
      
      for (String serviceName : serviceNames) {
        try {
          ServiceRefAmp serviceRef = _serviceMap.get(serviceName);
          
          serviceRef.shutdown(mode);
        } catch (Throwable e) {
          log.log(Level.FINE, e.toString(), e);
        }
      }
    }
docs: /*
  @Override
  public void publish(String address, RampBroker broker)
  {
  _brokerMap.put(address, broker);
  }