openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Classloading needs to be refurbished?
Date Tue, 04 Oct 2011 16:18:45 GMT
OpenJPA class loading for persistent domain classes and plug-ins (both native
and custom) uses several mechanics. Sometimes, a classloader is set on a
class to use, sometimes it is ClassResolver attached to the configuration,
sometimes it is the classloader of the persistence unit etc. 
I am planning to bring these different mechanics under Configuration. 
1. Configuration will have a MultiClassLoader. 
2. The facade can add other loaders to this MultiClassLoader. 
3. Everywhere this Configuration's MultiClassLoader will be used uniformly. 
4. ClassResolver notion will be deprecated.   

Comments/Thoughts?



-----
Pinaki Poddar
Chair, Apache OpenJPA Project
--
View this message in context: http://openjpa.208410.n2.nabble.com/Classloading-needs-to-be-refurbished-tp6859197p6859197.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Mime
View raw message