[bv-dev] [Java 8] How about support java.time in @Future and @Past?

Hardy Ferentschik hardy at hibernate.org
Mon Mar 31 05:45:28 EDT 2014


On 31 Jan 2014, at 10:07, Gunnar Morling <gunnar at hibernate.org> wrote:

> Related to that, I think it should be simpler to add additional constraints in a "global" manner than it is today. One possible way would be to support registering validator implementations using the service loader SPI, by providing a file META-INF/services/javax.validation.ConstraintValidator which lists additional implementations. This avoids the XML and allows to add a JAR with validators to an application without further need for registration.

+1 It’s probably another thing we will experiment with for HV 5.2




More information about the beanvalidation-dev mailing list