Hi, the Bean Validation spec already defines a public meta-data API: http://beanvalidation.org/1.1/spec/#constraintmetadata The entry point is Validator#getConstraintsForClass(). It has been envisioned exactly for the purposes you describe, such as exposing constraint information to client-side validation solutions. Could you check whether that API contains everything you need and report back? |