Gunnar Morling commented on Task BVAL-338

We might make more explicit that the integration technology is in charge of disposing any managed objects passed to the BV provider. WDYT about adding the following to the enumeration at the beginning of chapter 10:

[...] containers and frameworks controlling the life cycle of objects should:

  • [...]
  • Invoke ValidatorFactory#close() at an appropriate point of time, e.g. when the container is shut down
  • Dispose any configuration objects passed to the BV runtime after ValidatorFactory#close() was called

And the following to 5.5.2 (ValidatorFactory):

The Bean Validation provider must hold no references to any of the externally passed configuration objects after ValidatorFactory#close() was called, allowing for their safe disposal by the caller."

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira