Class H2WebConsole

java.lang.Object
dev.voidframework.h2.H2WebConsole

@Singleton public final class H2WebConsole extends Object
H2 Web Console.
  • Constructor Details

    • H2WebConsole

      @Inject public H2WebConsole(com.typesafe.config.Config configuration)
      Build a new instance.
      Parameters:
      configuration - The application configuration
  • Method Details

    • start

      public void start() throws SQLException
      Starts H2 web console.
      Throws:
      SQLException - If H2 web console can't be started
    • stop

      public void stop()
      Stops H2 web console.