docs: public void setDescriptor(DescriptorRepository repository, boolean global)
      {
          if (global)
          {
              if (log.isDebugEnabled()) log.debug("Set new global repository: " + repository);
              globalRepository = repository;
          }
          else
          {
              if (log.isDebugEnabled()) log.debug("Set new threaded repository: " + repository);
              threadedRepository.set(repository);
          }
      }