Re: Where is ValidatorFactoryBuilder interface?

2010-09-07 Thread Rick McGuire
On 9/2/2010 5:33 PM, Vamsavardhana Reddy wrote: Section EE.5.16.2 of Java EE 6 specification says, For the benefit of implementors, we note that the Bean Validation API includes a ValidatorFactoryBuilder interface that can be used to create a ValidatorFactory configured according to the

Re: Where is ValidatorFactoryBuilder interface?

2010-09-07 Thread Donald Woods
Right, one area in the doc that needs updating... For Apache BVal, take a look at - bval-jsr303/src/main/java/org/apache/bval/jsr303/ConfigurationImpl.java Which can hold the constraint mappings as InputStreams and has public ValidatorFactory buildValidatorFactory() You can get a Validator

Re: Where is ValidatorFactoryBuilder interface?

2010-09-07 Thread Vamsavardhana Reddy
As part of GERONIMO-5222 Add support for application validation descriptor support for deployed applications, I am trying to process validation.xml in Web and other Java EE modules. I have come across org/apache/bval/jsr303/ConfigurationImpl. But, then it would still require parsing of

Where is ValidatorFactoryBuilder interface?

2010-09-02 Thread Vamsavardhana Reddy
Section EE.5.16.2 of Java EE 6 specification says, For the benefit of implementors, we note that the Bean Validation API includes a ValidatorFactoryBuilder interface that can be used to create a ValidatorFactory configured according to the contents of a validation deployment descriptor in the form