Skip to main content
Follow these steps to define your own implementation of the IEvaluationTaskManager interface:

1. Create the Spring Bean

Create a class that implements the IEvaluationTaskManager interface. You will need to implement the following methods:
The waitFor*Tasks methods are responsible for blocking the current thread until all running tasks have completed. The other methods are used to add/remove futures being managed by the IEvaluationTaskManager.

2. Import the Spring Bean

Once the bean is created, import it into the project. See Importing Spring Beans into the Project on how to do this. Once done, Spring injects it in all classes that use IEvaluationService.