In my Springboot application, I use an "utility" class (class having only static methods) in order to validate business rules on my configuration.
E.g.