Be very careful if you do this. Hibernate has implemented it and it
has brought more issues than solved...
Regards,
Michael
On Sun, May 13, 2012 at 4:16 AM, Hardy Ferentschik <hardy(a)hibernate.org> wrote:
Hi,
Gunnar pointed just out the following blog post to me -
http://njbartlett.name/2010/08/30/osgi-readiness-loading-classes.html
It explains nicely some problems around class loading and discusses some solutions.
Independent of BVAL-251 it makes sense to define such a service.
--Hardy
On May 8, 2012, at 5:06 PM, Hardy Ferentschik wrote:
> I created
https://hibernate.onjira.com/browse/BVAL-286. I really think such a
service
> is beneficial outside the OSGi scope, but even there it is useful.
>
> Atm I see two main use cases - loading classes and leading resource bundles
>
> <T> Class<T> classForName(String className);
> ResourceBundle loadBundle(String bundleName, Locale locale);
>
>> It would also be interesting to know how Apache Validation does class
>> loading.
>
> Anyone? I would be interested as well :-)
_______________________________________________
beanvalidation-dev mailing list
beanvalidation-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/beanvalidation-dev