Validation groups can be specified through Spring's Validated annotation
at the type level of the containing target class, applying to all public service methods
of that class. By default, JSR-303 will validate against its default group only.

As of Spring 3.1, this functionality requires Hibernate Validator 4.2 or higher.
In Spring 3.1.2, this class will autodetect a Bean Validation 1.1 compliant provider
and automatically use the standard method validation support there (once available).