code: public void addRepositoryClass(I_CmsRepository repository) throws CmsConfigurationException {
  
          // check if new repositories can still be added
          if (m_frozen) {
              throw new CmsConfigurationException(Messages.get().container(Messages.ERR_NO_CONFIG_AFTER_STARTUP_0));
          }
          m_repositoryList.add(repository);
      }
docs: Adds a new configured repository.<p>
  
  @param repository the repository to add
  
  @throws CmsConfigurationException in case the resource manager configuration is already initialized