code: public synchronized void shutDown() throws Exception {
  
          Iterator<I_CmsResourceLoader> it = m_loaderList.iterator();
          while (it.hasNext()) {
              // destroy all resource loaders
              I_CmsResourceLoader loader = it.next();
              loader.destroy();
          }
  
          m_loaderList = null;
          m_loaders = null;
          m_collectorNameMappings = null;
          m_mimeTypes = null;
          m_configuredMimeTypes = null;
          m_configuredRelationTypes = null;
          m_configuredHtmlConverters = null;
          m_htmlConverters = null;
  
          if (CmsLog.INIT.isInfoEnabled()) {
              CmsLog.INIT.info(Messages.get().getBundle().key(Messages.INIT_SHUTDOWN_1, this.getClass().getName()));
          }
      }
docs: Shuts down this resource manage instance.<p>
  
  @throws Exception in case of errors during shutdown