code: public final static Server getRebuildInstance(File homeDir)
              throws ServerInitializationException, ModuleInitializationException {
          // instantiate a new special purpose server for rebuilding
          // SQL databases given the class provided in the root element
          // in the config file and return it
  
              String className = "org.fcrepo.server.utilities.rebuild.RebuildServer";
              try {
                  Server inst = new RebuildServer(homeDir);
                  s_instances.put(homeDir, inst);
                  inst.init();
                  return inst;
              } catch (IllegalArgumentException iae) {
                  // improbable
                  throw new ServerInitializationException(MessageFormat
                          .format(INIT_SERVER_SEVERE_BADARGS,
                                  new Object[] {className}));
              }
      }
docs: Provides an instance of the server specified in the configuration file at
  homeDir/CONFIG_DIR/CONFIG_FILE, or DEFAULT_SERVER_CLASS if unspecified.
  
  @param homeDir
  The base directory for the server.
  @return The instance.
  @throws ServerInitializationException
  If there was an error starting the server.
  @throws ModuleInitializationException
  If there was an error starting a module.