code: public static JournalRecoveryLog getInstance(Map<String, String> parameters,
                                                   String role,
                                                   ServerInterface server)
              throws ModuleInitializationException {
  
          try {
              Object recoveryLog =
                      JournalHelper
                              .createInstanceAccordingToParameter(PARAMETER_JOURNAL_RECOVERY_LOG_CLASSNAME,
                                                                  new Class[] {
                                                                          Map.class,
                                                                          String.class,
                                                                          ServerInterface.class},
                                                                  new Object[] {
                                                                          parameters,
                                                                          role,
                                                                          server},
                                                                  parameters);
              logger.info("JournalRecoveryLog is " + recoveryLog.toString());
              return (JournalRecoveryLog) recoveryLog;
          } catch (JournalException e) {
              throw new ModuleInitializationException("Can't create JournalRecoveryLog",
                                                      role,
                                                      e);
          }
      }
docs: Create an instance of the proper JournalRecoveryLog child class, as
  determined by the server parameters.