code: @Override
      public synchronized List<String> getEndpointNames(QName serviceName) throws ServiceLocatorException,
              InterruptedException {
          if (LOG.isLoggable(Level.FINE)) {
              LOG.fine("Get all endpoint names of service " + serviceName + "...");
          }
          List<String> children;
  
          RootNode rootNode = getBackend().connect();
          ServiceNode serviceNode = rootNode.getServiceNode(serviceName);
          if (serviceNode.exists()) {
              children = serviceNode.getEndpointNames();
          } else {
              if (LOG.isLoggable(Level.FINE)) {
                  LOG.fine("Lookup of service " + serviceName + " failed, service is not known.");
              }
              children = Collections.emptyList();
          }
          return children;
      }
docs: {@inheritDoc}