code: @Override
      public Repository getRepository(String repositoryName) throws NoSuchRepositoryException {
          Repository repository = null;
          try {
              Map<String, String> map = new HashMap<>();
              map.put(org.modeshape.jcr.api.RepositoryFactory.REPOSITORY_NAME, repositoryName);
              repository = repositoryFactory.getRepository(map);
          } catch (RepositoryException e) {
              throw new NoSuchRepositoryException(WebJcrI18n.cannotInitializeRepository.text(repositoryName), e);
          }
  
          if (repository == null) {
              throw new NoSuchRepositoryException(WebJcrI18n.repositoryNotFound.text(repositoryName));
          }
          return repository;
      }
docs: Returns the {@link javax.jcr.Repository} instance with the given name.
  
  @param repositoryName a {@code non-null} string
  @return a {@link javax.jcr.Repository} instance, never {@code null}
  @throws org.wisdom.jcr.modeshape.api.NoSuchRepositoryException if no repository with the given name exists.