[bv-dev] Method validation - cont'd

Emmanuel Bernard emmanuel at hibernate.org
Tue May 15 04:49:54 EDT 2012


On 14 mai 2012, at 20:24, Gunnar Morling wrote:

>>> * Should ParameterNameProvider go into a sub-package?
> 
>> which one do you have in mind there?
> 
> Normally I'd lean towards to javax.validation.spi, since PNP is
> something which is implemented by clients. But I think in BV 1.0, the
> "spi" package is centered more around bootstrapping.
> 
> So personally I'd be fine with leaving PNP directly within javax.validation.
> 
> Emmanuel, I think you originally raised the idea of putting it into a
> separate package. Do you have anything special in mind here?

I think I was wrong. I would love to get the class in a subpackage because I find javax.validation quite crowded but 
ParameterNameProvider is no different than MessageInterpolator or TraversableResolver.


More information about the beanvalidation-dev mailing list