Class WithinJVMStarter


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

      • WithinJVMStarter

        public WithinJVMStarter()
    • Method Detail

      • 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).