openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
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.   


Pinaki Poddar
Chair, Apache OpenJPA Project
View this message in context:
Sent from the OpenJPA Developers mailing list archive at

View raw message