IEvaluationService interface with custom evaluation logic:
1. Create the Spring Bean
Create a class that implements theIEvaluationService interface. You will need to implement the following methods:
evaluate* methods. The postEvaluation method is invoked after all limits have been evaluated, but
before returning the results, so it provides an opportunity to hook into and do any post-processing of the evaluation results before they are presented to users.
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 useIEvaluationService.