Class KeycloakMain

java.lang.Object
org.keycloak.quarkus.runtime.KeycloakMain
All Implemented Interfaces:
io.quarkus.runtime.QuarkusApplication

@ApplicationScoped public class KeycloakMain extends Object implements io.quarkus.runtime.QuarkusApplication

The main entry point, responsible for initialize and run the CLI as well as start the server.

  • Constructor Details

    • KeycloakMain

      public KeycloakMain()
  • Method Details

    • main

      public static void main(String[] args)
    • start

      public static void start(ExecutionExceptionHandler errorHandler, PrintWriter errStream, String[] args)
    • run

      public int run(String... args) throws Exception
      Should be called after the server is fully initialized
      Specified by:
      run in interface io.quarkus.runtime.QuarkusApplication
      Throws:
      Exception