code: public void add(EndpointService<L, S> newEndpointService) {
          if (newEndpointService == null) {
              throw new IllegalArgumentException("New endpoint service must not be null");
          }
  
          synchronized (this.inventoryListeners) {
              for (InventoryListener listener : this.inventoryListeners) {
                  newEndpointService.addInventoryListener(listener);
              }
          }
  
          endpointServices.put(newEndpointService.getMonitoredEndpoint().getName(), newEndpointService);
          newEndpointService.start();
          log.infoAddedEndpointService(newEndpointService.toString());
  
          newEndpointService.discoverAll();
      }
docs: This will add a new endpoint service to the list. Once added, the new service
  will immediately be started.
  
  @param newEndpointService the new service to add and start