You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Ioannis Canellos <io...@gmail.com> on 2010/12/23 19:37:44 UTC
Hibernate Validator
I have a question regarding the servicemix Hibernate Validator bundle.
The validation api locates the validation implementation using the JRE SPI
mechanism. In order for this to work I can only imagine the following
possibilites:
a) A bundle containing both the api and the implementation.
b) The implementing bundle to be a fragment bundle for the api bundle.
c) The use of something similar to aries spifly (which I think is not ready
yet).
If I understand things correctly the validator bundle doesn't follow any of
the above. How is it meant to work? Is there an example available?
Re: Hibernate Validator
Posted by Johan Edstrom <se...@gmail.com>.
There is an example and osgi-tests in camel-beanvalidator
On Dec 23, 2010, at 11:37 AM, Ioannis Canellos wrote:
> I have a question regarding the servicemix Hibernate Validator bundle.
> The validation api locates the validation implementation using the JRE SPI
> mechanism. In order for this to work I can only imagine the following
> possibilites:
>
> a) A bundle containing both the api and the implementation.
> b) The implementing bundle to be a fragment bundle for the api bundle.
> c) The use of something similar to aries spifly (which I think is not ready
> yet).
>
> If I understand things correctly the validator bundle doesn't follow any of
> the above. How is it meant to work? Is there an example available?