Class ReportExecutor

java.lang.Object
com.axelor.report.tool.ReportExecutor

public final class ReportExecutor extends Object
  • Method Details

    • submit

      public static <T> Future<T> submit(Callable<T> task)
      Submits a task to the report executor.

      The task runs with the caller's context (tenant, user, base URL and language) and its own database session, closed once the task is completed.

      Parameters:
      task - the task to run
      Returns:
      the future result of the task
    • shutdown

      public static void shutdown()