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

Hardy Ferentschik hardy at hibernate.org
Sun May 13 03:16:05 EDT 2012


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 :-)




More information about the beanvalidation-dev mailing list