[jboss-as7-dev] AS7-886 any suggestions on fixing PU.getNewTempClassLoader
Scott Marlow
smarlow at redhat.com
Tue Aug 23 11:34:57 EDT 2011
I'd like to use the JPA persistence unit getNewTempClassLoader with
EclipseLink sometime for 7.1. Any suggestions how to fix?
Should JPA perhaps duplicate the module classloader logic that reads the
raw VFS classfiles or is there an easier way? It is probably fine to
delegate to the original module class loader for parent level class
loading but not for loading application classes.
The idea of the JPA PU temp class loader is for accessing app classes,
before the app class loader loads them.
https://github.com/jbossas/jboss-as/blob/master/jpa/core/src/main/java/org/jboss/as/jpa/classloader/TempClassLoader.java
is not yet working.
Thanks,
Scott
More information about the jboss-as7-dev
mailing list