Should be registered as SESSION scoped bean to prevent memory leaks with unfinished tasks.
37383940414243
/** * */ public ExampleApplication() { taskService = new TaskService(new AsynchronousExecutor()); }
75767778798081
} private void setUpDependencies() { // set up task service with a dummy executor taskService = new TaskService(new SynchronousExecutor()); }
38394041424344