docs: public synchronized void initialize(CmsObject cms) throws CmsRoleViolationException {
  
          if (OpenCms.getRunLevel() > OpenCms.RUNLEVEL_1_CORE_OBJECT) {
  
              // simple test cases don't require this check
              OpenCms.getRoleManager().checkRole(cms, CmsRole.ROOT_ADMIN);
          }
  
          // initialize the special entity resolver
          CmsXmlEntityResolver.initialize(cms, getSchemaBytes());
  
          if (CmsLog.INIT.isInfoEnabled()) {
              CmsLog.INIT.info(
                  Messages.get().getBundle().key(
                      Messages.INIT_NUM_ST_INITIALIZED_1,
                      new Integer(m_registeredTypes.size())));
          }
      }