geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Woods <>
Subject Re: Where is ValidatorFactoryBuilder interface?
Date Tue, 07 Sep 2010 20:12:37 GMT
Right, one area in the doc that needs updating...

For Apache BVal, take a look at -

Which can hold the constraint mappings as InputStreams and has
    public ValidatorFactory buildValidatorFactory()

You can get a Validator with something like -

javax.validation.Configuration configuration = Validation.byProvider(
Validator validator = configuration.buildValidatorFactory().getValidator();

Are you trying to build a Validator with a Configuration that uses a
custom validation.xml?


On 9/7/10 5:57 AM, Rick McGuire wrote:
>  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 contents of a validation
>> deployment descriptor in the form of a".  I don't
>> see it in geronimo-validation_1.0_spec-1.1.jar.  Where can I find this
>> ValidatorFactoryBuilder?
>> -- 
>> Vamsi
> The Bean Validation spec does not include ValidatorFactoryBuilder and it
> is also not part of the TCK.  I suspect the mention on the Java EE 6 is
> obsolete.
> Rick

View raw message