code: public synchronized void reload(boolean isStartup) {
  
          if ((OpenCms.getRunLevel() > OpenCms.RUNLEVEL_1_CORE_OBJECT)
              && OpenCms.getResourceManager().hasResourceType(TYPE_XML_BUNDLE)) {
              List<CmsResource> xmlBundles = Lists.newArrayList();
              List<CmsResource> propertyBundles = Lists.newArrayList();
              try {
                  I_CmsResourceType xmlType = OpenCms.getResourceManager().getResourceType(TYPE_XML_BUNDLE);
                  xmlBundles = m_cms.readResources("/", CmsResourceFilter.ALL.addRequireType(xmlType), true);
              } catch (Exception e) {
                  logError(e, isStartup);
              }
              try {
                  I_CmsResourceType propType = OpenCms.getResourceManager().getResourceType(TYPE_PROPERTIES_BUNDLE);
                  propertyBundles = m_cms.readResources("/", CmsResourceFilter.ALL.addRequireType(propType), true);
              } catch (Exception e) {
                  logError(e, isStartup);
              }
              try {
  
                  synchronized (CmsResourceBundleLoader.class) {
                      CmsResourceBundleLoader.flushBundleCache();
                      for (String baseName : m_bundleBaseNames) {
                          CmsResourceBundleLoader.flushPermanentCache(baseName);
                      }
                      m_bundleBaseNames.clear();
                      for (CmsResource xmlBundle : xmlBundles) {
                          addXmlBundle(xmlBundle);
                      }
                      for (CmsResource propertyBundle : propertyBundles) {
                          addPropertyBundle(propertyBundle);
                      }
                      if (OpenCms.getWorkplaceManager() != null) {
                          OpenCms.getWorkplaceManager().flushMessageCache();
                      }
                  }
              } catch (Exception e) {
                  logError(e, isStartup);
              }
          }
      }
docs: Re-initializes the resource bundles.<p>
  
  @param isStartup true when this is called during startup