Class WithinJVMBackendAPI


  • public class WithinJVMBackendAPI
    extends Object
    • Constructor Detail

      • WithinJVMBackendAPI

        public WithinJVMBackendAPI()
    • Method Detail

      • gradeBackendRequest

        public static GrajaSingleResultTO gradeBackendRequest​(BackendRequestTO requestTO)
                                                       throws Exception
        Runs Graja inside the same JVM as the caller.
        Parameters:
        requestTO - the request, which must have local resources only. Hence, ProformaRequestTO is not supported (must be converted by the caller to a BackendRequestTO).
        Returns:
        the result
        Throws:
        Exception