Class BootstrapperUtils

java.lang.Object
org.restheart.utils.BootstrapperUtils

public class BootstrapperUtils extends Object
  • Constructor Details

    • BootstrapperUtils

      public BootstrapperUtils()
  • Method Details

    • getInstanceName

      public static String getInstanceName(Configuration configuration)
    • setJsonpathDefaults

      public static void setJsonpathDefaults()
      sets the Configuration for JsonPath
    • checkPidFile

      public static boolean checkPidFile(Path confFilePath, Path propFilePath)
      logs warning message if pid file exists
      Parameters:
      confFilePath -
      propFilePath -
      Returns:
      true if pid file exists
    • pidFile

      public static Path pidFile(Path confFilePath, Path confOverridesFilePath)
    • initLogging

      public static void initLogging(Configuration configuration, RESTHeartDaemon d, boolean isForked)
      initLogging
      Parameters:
      configuration -
      d -
      isForked -
    • logStartMessages

      public static void logStartMessages(Configuration configuration)
    • logLoggingConfiguration

      public static void logLoggingConfiguration(Configuration configuration, boolean fork)
      logLoggingConfiguration
      Parameters:
      configuration -
      fork -