[bv-dev] BVAL-263 ValidatorFactory.close()

Jagadish Prasath Ramu jagadish.ramu at oracle.com
Mon Feb 6 10:20:06 EST 2012


As per the java-doc, ValidatorFactory can be cached or re-used. In such
cases, isClosed() will be useful.

Thanks,
-Jagadish

On Mon, 2012-02-06 at 10:50 +0100, Emmanuel Bernard wrote:
> To support dependency injection, we need a close event at the ValidatorFactory level to properly release managed beans. I can imagine other resources could benefit from this close operation as well.
> 
> I'm working toward adding it to the spec but I am wondering whether or not we need a companion isClosed() method to the ValidatorFactory. Do you see situations where you would need this information (as container developer, framework developer or mere user of Bean Validation)?
> 
> Emmanuel
> _______________________________________________
> beanvalidation-dev mailing list
> beanvalidation-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/beanvalidation-dev




More information about the beanvalidation-dev mailing list