Class WithinJVMStarter

java.lang.Object
de.hsh.graja.starter.apcli.WithinJVMStarter

public class WithinJVMStarter extends Object
This class starts Graja in a separate JVM. All configuration is expected in the RequestTO parameter.
  • Constructor Details

    • WithinJVMStarter

      public WithinJVMStarter()
  • Method Details

    • startGraja

      public static ResultTO startGraja(FrontendRequestTO request)
      This method starts the Graja frontend from a running JVM. It expects a request and produces a result.
      Parameters:
      request - The request object (either single or multi)
      Returns:
      the overall result (either single or multi).
    • startGraja

      public static ResultTO startGraja(FrontendRequestTO request, String fileFormat)
      This method starts the Graja frontend from a running JVM. It expects a request and produces a result.
      Parameters:
      request - The request object (either single or multi)
      fileFormat - May be json or xml
      Returns:
      the overall result (either single or multi).