Skip to main content
Follow these steps to define your own implementation of the IEvaluationService interface with custom evaluation logic:

1. Create the Spring Bean

Create a class that implements the IEvaluationService interface. You will need to implement the following methods:
Evaluation logic should be implemented in the 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 use IEvaluationService.