docs: public Future<Boolean> undeploy( final String repositoryName ) throws NoSuchRepositoryException {
          CheckArg.isNotEmpty(repositoryName, "repositoryName");
          checkRunning();
  
          // Now try to undeploy the repository ...
          final Lock lock = this.lock.writeLock();
          try {
              lock.lock();
              final JcrRepository repository = this.repositories.remove(repositoryName);
              if (repository == null) {
                  // There is no repository with this name ...
                  throw new NoSuchRepositoryException(JcrI18n.repositoryDoesNotExist.text(repositoryName));
              }
              // There is an existing repository, so start to shut it down (note that it may fail) ...
              return repository.shutdown();
          } finally {
              lock.unlock();
          }
      }