code: public synchronized void shutDown() {
  
          int count = 0;
          Iterator<String> it = getModuleNames().iterator();
          while (it.hasNext()) {
              String moduleName = it.next();
              // get the module
              CmsModule module = m_modules.get(moduleName);
              if (module == null) {
                  continue;
              }
              // get the module action instance
              I_CmsModuleAction moduleAction = module.getActionInstance();
              if (moduleAction == null) {
                  continue;
              }
  
              count++;
              if (CmsLog.INIT.isInfoEnabled()) {
                  CmsLog.INIT.info(
                      Messages.get().getBundle().key(
                          Messages.INIT_SHUTDOWN_MOD_CLASS_1,
                          moduleAction.getClass().getName()));
              }
              try {
                  // shut down the module
                  moduleAction.shutDown(module);
              } catch (Throwable t) {
                  LOG.error(
                      Messages.get().getBundle().key(
                          Messages.LOG_INSTANCE_SHUTDOWN_ERR_1,
                          moduleAction.getClass().getName()),
                      t);
              }
          }
  
          if (CmsLog.INIT.isInfoEnabled()) {
              CmsLog.INIT.info(
                  Messages.get().getBundle().key(Messages.INIT_SHUTDOWN_NUM_MOD_CLASSES_1, new Integer(count)));
          }
  
          if (CmsLog.INIT.isInfoEnabled()) {
              CmsLog.INIT.info(Messages.get().getBundle().key(Messages.INIT_SHUTDOWN_1, this.getClass().getName()));
          }
      }
docs: Shuts down all module instance classes managed in this module manager.<p>