public class SubtypeValidator
extends Object
Subtype validator is a single class for validating type or any of its registered subtypes. It uses information from
subtypeRegistry to define for what types validators are needed and collects validators that supports those types
(marked with declared markerInterface). Validators should be just declared as spring bean and implement
markerInterface. markerInterface is needed to distinguish between validators that supports the same type but are
designed for different purposes e.g. create and update operation.