[bv-dev] [BVAL-286] Class loading service

Emmanuel Bernard emmanuel at hibernate.org
Mon May 14 03:51:24 EDT 2012


Hi,
Can you elaborate on the issues that it has brought?

On 14 mai 2012, at 05:09, Michael Nascimento wrote:

> 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 at 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 at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/beanvalidation-dev
> 
> _______________________________________________
> 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